svn commit: r350579 - head/sys/arm64/arm64

Alan Cox alc at FreeBSD.org
Mon Aug 5 02:44:05 UTC 2019


Author: alc
Date: Mon Aug  5 02:44:04 2019
New Revision: 350579
URL: https://svnweb.freebsd.org/changeset/base/350579

Log:
  Enable superpage promotion within the kernel pmap.
  
  Reviewed by:	markj
  X-MFC after:	r350004
  Differential Revision:	https://reviews.freebsd.org/D21149

Modified:
  head/sys/arm64/arm64/pmap.c

Modified: head/sys/arm64/arm64/pmap.c
==============================================================================
--- head/sys/arm64/arm64/pmap.c	Mon Aug  5 01:37:18 2019	(r350578)
+++ head/sys/arm64/arm64/pmap.c	Mon Aug  5 02:44:04 2019	(r350579)
@@ -3425,8 +3425,7 @@ validate:
 	}
 
 #if VM_NRESERVLEVEL > 0
-	if (pmap != pmap_kernel() &&
-	    (mpte == NULL || mpte->wire_count == NL3PG) &&
+	if ((mpte == NULL || mpte->wire_count == NL3PG) &&
 	    pmap_ps_enabled(pmap) &&
 	    (m->flags & PG_FICTITIOUS) == 0 &&
 	    vm_reserv_level_iffullpop(m) == 0) {


More information about the svn-src-all mailing list