svn commit: r330050 - head/sys/arm/arm
Ian Lepore
ian at FreeBSD.org
Tue Feb 27 02:11:24 UTC 2018
Author: ian
Date: Tue Feb 27 02:11:23 2018
New Revision: 330050
URL: https://svnweb.freebsd.org/changeset/base/330050
Log:
Initialize all members of vm_page::md_page for armv4/5 systems. This fixes
a hang in SI_SUB_KMEM sysinit, and is apparently required after r323290.
Inspired by the commit message for r323676.
Reported by: andreast@
Modified:
head/sys/arm/arm/pmap-v4.c
Modified: head/sys/arm/arm/pmap-v4.c
==============================================================================
--- head/sys/arm/arm/pmap-v4.c Tue Feb 27 01:48:13 2018 (r330049)
+++ head/sys/arm/arm/pmap-v4.c Tue Feb 27 02:11:23 2018 (r330050)
@@ -1725,6 +1725,8 @@ pmap_page_init(vm_page_t m)
TAILQ_INIT(&m->md.pv_list);
m->md.pv_memattr = VM_MEMATTR_DEFAULT;
+ m->md.pvh_attrs = 0;
+ m->md.pv_kva = 0;
}
/*
More information about the svn-src-all
mailing list