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

Reply via email to