Date: Fri, 20 Jul 2018 16:31:09 +0000 (UTC) From: Mark Johnston <markj@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r336556 - head/sys/arm64/arm64 Message-ID: <201807201631.w6KGV9Ne065207@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807201631.w6KGV9Ne065207>