Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Sep 2019 13:35:49 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r352331 - stable/11/sys/vm
Message-ID:  <201909141335.x8EDZnLx039879@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Sat Sep 14 13:35:48 2019
New Revision: 352331
URL: https://svnweb.freebsd.org/changeset/base/352331

Log:
  MFC r352013:
  vm_object_coalesce(): avoid extending any nosplit objects, not only
  that which back tmpfs nodes.

Modified:
  stable/11/sys/vm/vm_object.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/vm/vm_object.c
==============================================================================
--- stable/11/sys/vm/vm_object.c	Sat Sep 14 13:33:52 2019	(r352330)
+++ stable/11/sys/vm/vm_object.c	Sat Sep 14 13:35:48 2019	(r352331)
@@ -2153,7 +2153,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);
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909141335.x8EDZnLx039879>