diff options
author | alc <alc@FreeBSD.org> | 2010-05-31 06:06:10 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2010-05-31 06:06:10 +0000 |
commit | b5170d1a7e642f5cc280b8d424ccda7498ae2d2e (patch) | |
tree | 7caaf73b14044de062cf33af510f2dd61fb7bd5c | |
parent | 607fc8f5ea702e258d06f685b85d0f33a5b044fe (diff) | |
download | FreeBSD-src-b5170d1a7e642f5cc280b8d424ccda7498ae2d2e.zip FreeBSD-src-b5170d1a7e642f5cc280b8d424ccda7498ae2d2e.tar.gz |
Eliminate a stale comment.
-rw-r--r-- | sys/amd64/amd64/pmap.c | 4 | ||||
-rw-r--r-- | sys/i386/i386/pmap.c | 4 | ||||
-rw-r--r-- | sys/i386/xen/pmap.c | 4 | ||||
-rw-r--r-- | sys/mips/mips/pmap.c | 4 | ||||
-rw-r--r-- | sys/sun4v/sun4v/pmap.c | 4 |
5 files changed, 0 insertions, 20 deletions
diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c index fd23777..e138cbc 100644 --- a/sys/amd64/amd64/pmap.c +++ b/sys/amd64/amd64/pmap.c @@ -3187,10 +3187,6 @@ pmap_enter(pmap_t pmap, vm_offset_t va, vm_prot_t access, vm_page_t m, 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; diff --git a/sys/i386/i386/pmap.c b/sys/i386/i386/pmap.c index 9dbab4e..1316eb8 100644 --- a/sys/i386/i386/pmap.c +++ b/sys/i386/i386/pmap.c @@ -3323,10 +3323,6 @@ pmap_enter(pmap_t pmap, vm_offset_t va, vm_prot_t access, vm_page_t m, 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; diff --git a/sys/i386/xen/pmap.c b/sys/i386/xen/pmap.c index 67bbd27..1a3a9d5 100644 --- a/sys/i386/xen/pmap.c +++ b/sys/i386/xen/pmap.c @@ -2737,10 +2737,6 @@ pmap_enter(pmap_t pmap, vm_offset_t va, vm_prot_t access, vm_page_t m, 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; diff --git a/sys/mips/mips/pmap.c b/sys/mips/mips/pmap.c index 54824a4..523ec8b 100644 --- a/sys/mips/mips/pmap.c +++ b/sys/mips/mips/pmap.c @@ -1801,10 +1801,6 @@ pmap_enter(pmap_t pmap, vm_offset_t va, vm_prot_t access, vm_page_t m, 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; } diff --git a/sys/sun4v/sun4v/pmap.c b/sys/sun4v/sun4v/pmap.c index 8044048..48cc81c 100644 --- a/sys/sun4v/sun4v/pmap.c +++ b/sys/sun4v/sun4v/pmap.c @@ -1133,10 +1133,6 @@ pmap_enter(pmap_t pmap, vm_offset_t va, vm_prot_t access, vm_page_t m, 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; |