Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Feb 2014 13:24:58 +0000 (UTC)
From:      Zbigniew Bodek <zbb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r261921 - head/sys/arm/arm
Message-ID:  <201402151324.s1FDOwjq021166@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help

Author: zbb
Date: Sat Feb 15 13:24:58 2014
New Revision: 261921
URL: http://svnweb.freebsd.org/changeset/base/261921

Log:
  Remove spurious assertion from pmap_extract_locked() on ARM
  
  The condition under assertion is no longer valid since
  superpages support is operating on section mappings.

Modified:
  head/sys/arm/arm/pmap-v6.c

Modified: head/sys/arm/arm/pmap-v6.c
==============================================================================
--- head/sys/arm/arm/pmap-v6.c	Sat Feb 15 13:22:37 2014	(r261920)
+++ head/sys/arm/arm/pmap-v6.c	Sat Feb 15 13:24:58 2014	(r261921)
@@ -3328,10 +3328,6 @@ pmap_extract_locked(pmap_t pmap, vm_offs
 	l1idx = L1_IDX(va);
 	l1pd = pmap->pm_l1->l1_kva[l1idx];
 	if (l1pte_section_p(l1pd)) {
-		/*
-		 * These should only happen for the kernel pmap.
-		 */
-		KASSERT(pmap == kernel_pmap, ("unexpected section"));
 		/* XXX: what to do about the bits > 32 ? */
 		if (l1pd & L1_S_SUPERSEC)
 			pa = (l1pd & L1_SUP_FRAME) | (va & L1_SUP_OFFSET);



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