Date: Wed, 31 Jul 2002 11:46:48 -0700 (PDT) From: Alan Cox <alc@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/i386 pmap.c src/sys/vm vm_glue.c Message-ID: <200207311846.g6VIkm1M022809@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
alc 2002/07/31 11:46:48 PDT
Modified files:
sys/i386/i386 pmap.c
sys/vm vm_glue.c
Log:
o Setting PG_MAPPED and PG_WRITEABLE on pages that are mapped and unmapped
by pmap_qenter() and pmap_qremove() is pointless. In fact, it probably
leads to unnecessary pmap_page_protect() calls if one of these pages is
paged out after unwiring.
Note: setting PG_MAPPED asserts that the page's pv list may be
non-empty. Since checking the status of the page's pv list isn't any
harder than checking this flag, the flag should probably be eliminated.
Alternatively, PG_MAPPED could be set by pmap_enter() exclusively
rather than various places throughout the kernel.
Revision Changes Path
1.350 +0 -2 src/sys/i386/i386/pmap.c
1.151 +0 -2 src/sys/vm/vm_glue.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207311846.g6VIkm1M022809>
