vm_object_coalesce(): avoid extending any nosplit objects, not only
that which back tmpfs nodes. Reviewed by: markj MFC after: 1 week Differential revision: https://reviews.freebsd.org/D21560
This commit is contained in:
parent
f923be6b9a
commit
4f49b435c8
@ -2062,7 +2062,7 @@ vm_object_coalesce(vm_object_t prev_object, vm_ooffset_t prev_offset,
|
||||
VM_OBJECT_WLOCK(prev_object);
|
||||
if ((prev_object->type != OBJT_DEFAULT &&
|
||||
prev_object->type != OBJT_SWAP) ||
|
||||
(prev_object->flags & OBJ_TMPFS_NODE) != 0) {
|
||||
(prev_object->flags & OBJ_NOSPLIT) != 0) {
|
||||
VM_OBJECT_WUNLOCK(prev_object);
|
||||
return (FALSE);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user