Date: Mon, 31 May 2010 06:06:10 +0000 (UTC) From: Alan Cox <alc@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r208667 - in head/sys: amd64/amd64 i386/i386 i386/xen mips/mips sun4v/sun4v Message-ID: <201005310606.o4V66Aji080767@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005310606.o4V66Aji080767>