svn commit: r208667 - in head/sys: amd64/amd64 i386/i386 i386/xen
mips/mips sun4v/sun4v
Alan Cox
alc at FreeBSD.org
Mon May 31 06:06:11 UTC 2010
Author: alc
Date: Mon May 31 06:06:10 2010
New Revision: 208667
URL: http://svn.freebsd.org/changeset/base/208667
Log:
Eliminate a stale comment.
Modified:
head/sys/amd64/amd64/pmap.c
head/sys/i386/i386/pmap.c
head/sys/i386/xen/pmap.c
head/sys/mips/mips/pmap.c
head/sys/sun4v/sun4v/pmap.c
Modified: head/sys/amd64/amd64/pmap.c
==============================================================================
--- head/sys/amd64/amd64/pmap.c Mon May 31 05:35:46 2010 (r208666)
+++ head/sys/amd64/amd64/pmap.c Mon May 31 06:06:10 2010 (r208667)
@@ -3187,10 +3187,6 @@ pmap_enter(pmap_t pmap, vm_offset_t va,
if (mpte)
mpte->wire_count--;
- /*
- * We might be turning off write access to the page,
- * so we go ahead and sense modify status.
- */
if (origpte & PG_MANAGED) {
om = m;
pa |= PG_MANAGED;
Modified: head/sys/i386/i386/pmap.c
==============================================================================
--- head/sys/i386/i386/pmap.c Mon May 31 05:35:46 2010 (r208666)
+++ head/sys/i386/i386/pmap.c Mon May 31 06:06:10 2010 (r208667)
@@ -3323,10 +3323,6 @@ pmap_enter(pmap_t pmap, vm_offset_t va,
if (mpte)
mpte->wire_count--;
- /*
- * We might be turning off write access to the page,
- * so we go ahead and sense modify status.
- */
if (origpte & PG_MANAGED) {
om = m;
pa |= PG_MANAGED;
Modified: head/sys/i386/xen/pmap.c
==============================================================================
--- head/sys/i386/xen/pmap.c Mon May 31 05:35:46 2010 (r208666)
+++ head/sys/i386/xen/pmap.c Mon May 31 06:06:10 2010 (r208667)
@@ -2737,10 +2737,6 @@ pmap_enter(pmap_t pmap, vm_offset_t va,
if (mpte)
mpte->wire_count--;
- /*
- * We might be turning off write access to the page,
- * so we go ahead and sense modify status.
- */
if (origpte & PG_MANAGED) {
om = m;
pa |= PG_MANAGED;
Modified: head/sys/mips/mips/pmap.c
==============================================================================
--- head/sys/mips/mips/pmap.c Mon May 31 05:35:46 2010 (r208666)
+++ head/sys/mips/mips/pmap.c Mon May 31 06:06:10 2010 (r208667)
@@ -1801,10 +1801,6 @@ pmap_enter(pmap_t pmap, vm_offset_t va,
if (mpte)
mpte->wire_count--;
- /*
- * We might be turning off write access to the page, so we
- * go ahead and sense modify status.
- */
if (page_is_managed(opa)) {
om = m;
}
Modified: head/sys/sun4v/sun4v/pmap.c
==============================================================================
--- head/sys/sun4v/sun4v/pmap.c Mon May 31 05:35:46 2010 (r208666)
+++ head/sys/sun4v/sun4v/pmap.c Mon May 31 06:06:10 2010 (r208667)
@@ -1133,10 +1133,6 @@ pmap_enter(pmap_t pmap, vm_offset_t va,
else if (!wired && (otte_data & VTD_WIRED))
pmap->pm_stats.wired_count--;
- /*
- * We might be turning off write access to the page,
- * so we go ahead and sense modify status.
- */
if (otte_data & VTD_MANAGED) {
om = m;
tte_data |= VTD_MANAGED;
More information about the svn-src-head
mailing list