Author: kib
Date: Sat Sep  7 15:58:48 2019
New Revision: 352013
URL: https://svnweb.freebsd.org/changeset/base/352013

Log:
  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

Modified:
  head/sys/vm/vm_object.c

Modified: head/sys/vm/vm_object.c
==============================================================================
--- head/sys/vm/vm_object.c     Sat Sep  7 15:57:23 2019        (r352012)
+++ head/sys/vm/vm_object.c     Sat Sep  7 15:58:48 2019        (r352013)
@@ -2062,7 +2062,7 @@ vm_object_coalesce(vm_object_t prev_object, vm_ooffset
        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);
        }
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to