Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Feb 2018 02:11:23 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r330050 - head/sys/arm/arm
Message-ID:  <201802270211.w1R2BNZR036691@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 }
 
 /*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802270211.w1R2BNZR036691>