svn commit: r336765 - stable/11/sys/arm64/arm64

Mark Johnston markj at FreeBSD.org
Fri Jul 27 15:49:13 UTC 2018


Author: markj
Date: Fri Jul 27 15:49:12 2018
New Revision: 336765
URL: https://svnweb.freebsd.org/changeset/base/336765

Log:
  MFC r336556:
  Initialize the L3 page's wire count correctly after a L2 entry demotion.

Modified:
  stable/11/sys/arm64/arm64/pmap.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/arm64/arm64/pmap.c
==============================================================================
--- stable/11/sys/arm64/arm64/pmap.c	Fri Jul 27 15:46:34 2018	(r336764)
+++ stable/11/sys/arm64/arm64/pmap.c	Fri Jul 27 15:49:12 2018	(r336765)
@@ -4611,6 +4611,7 @@ pmap_demote_l2_locked(pmap_t pmap, pt_entry_t *l2, vm_
 	 * If the page table page is new, initialize it.
 	 */
 	if (ml3->wire_count == 1) {
+		ml3->wire_count = NL3PG;
 		for (i = 0; i < Ln_ENTRIES; i++) {
 			l3[i] = newl3 | phys;
 			phys += L3_SIZE;


More information about the svn-src-all mailing list