Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Nov 2010 21:29:43 +0000 (UTC)
From:      Colin Percival <cperciva@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r215472 - head/sys/i386/xen
Message-ID:  <201011182129.oAILThtO045512@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cperciva
Date: Thu Nov 18 21:29:43 2010
New Revision: 215472
URL: http://svn.freebsd.org/changeset/base/215472

Log:
  Make pmap_release match pmap_pinit by invoking pmap_qremove(pmap->pm_pdpt)
  to match pmap_pinit's pmap_qenter(pmap->pm_pdpt) call in the case of PAE.

Modified:
  head/sys/i386/xen/pmap.c

Modified: head/sys/i386/xen/pmap.c
==============================================================================
--- head/sys/i386/xen/pmap.c	Thu Nov 18 21:09:02 2010	(r215471)
+++ head/sys/i386/xen/pmap.c	Thu Nov 18 21:29:43 2010	(r215472)
@@ -1885,6 +1885,9 @@ pmap_release(pmap_t pmap)
 		atomic_subtract_int(&cnt.v_wire_count, 1);
 		vm_page_free(m);
 	}
+#ifdef PAE
+	pmap_qremove((vm_offset_t)pmap->pm_pdpt, 1);
+#endif
 	PMAP_LOCK_DESTROY(pmap);
 }
 



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