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;
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"