diff options
author | alc <alc@FreeBSD.org> | 2004-05-12 04:10:35 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2004-05-12 04:10:35 +0000 |
commit | db27194e31283993707fc97cedf0154d60f25123 (patch) | |
tree | a18357efb76f8e23cf7f418587fdb9cfdeac4bf2 /sys/vm | |
parent | 1692d2821f033e7e6c05191b94342cec414cb789 (diff) | |
download | FreeBSD-src-db27194e31283993707fc97cedf0154d60f25123.zip FreeBSD-src-db27194e31283993707fc97cedf0154d60f25123.tar.gz |
Cache queue pages are not mapped. Thus, the pmap_remove_all() by
vm_pageout_scan()'s loop for freeing cache queue pages is unnecessary.
Diffstat (limited to 'sys/vm')
-rw-r--r-- | sys/vm/vm_pageout.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/vm/vm_pageout.c b/sys/vm/vm_pageout.c index 90e527b..b7ac7a4 100644 --- a/sys/vm/vm_pageout.c +++ b/sys/vm/vm_pageout.c @@ -1111,7 +1111,6 @@ unlock_and_continue: object = m->object; VM_OBJECT_LOCK_ASSERT(object, MA_OWNED); vm_page_busy(m); - pmap_remove_all(m); vm_page_free(m); VM_OBJECT_UNLOCK(object); cnt.v_dfree++; |