Author: markj Date: Fri Jul 20 16:31:08 2018 New Revision: 336556 URL: https://svnweb.freebsd.org/changeset/base/336556
Log: Initialize the L3 page's wire count correctly after a L2 entry demotion. Reviewed by: alc MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D16303 Modified: head/sys/arm64/arm64/pmap.c Modified: head/sys/arm64/arm64/pmap.c ============================================================================== --- head/sys/arm64/arm64/pmap.c Fri Jul 20 16:18:24 2018 (r336555) +++ head/sys/arm64/arm64/pmap.c Fri Jul 20 16:31:08 2018 (r336556) @@ -4784,6 +4784,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; _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"