Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Mar 2018 01:47:57 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r331520 - stable/11/sys/arm/arm
Message-ID:  <201803250147.w2P1lv6o006641@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ian
Date: Sun Mar 25 01:47:57 2018
New Revision: 331520
URL: https://svnweb.freebsd.org/changeset/base/331520

Log:
  MFC r330050:
  
  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:
  stable/11/sys/arm/arm/pmap-v4.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/arm/arm/pmap-v4.c
==============================================================================
--- stable/11/sys/arm/arm/pmap-v4.c	Sun Mar 25 01:47:17 2018	(r331519)
+++ stable/11/sys/arm/arm/pmap-v4.c	Sun Mar 25 01:47:57 2018	(r331520)
@@ -1727,6 +1727,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?201803250147.w2P1lv6o006641>