svn commit: r286828 - head/sys/vm
Alan Cox
alc at FreeBSD.org
Sun Aug 16 17:07:54 UTC 2015
Author: alc
Date: Sun Aug 16 17:07:53 2015
New Revision: 286828
URL: https://svnweb.freebsd.org/changeset/base/286828
Log:
As another piece of PG_CACHE page elimination, remove an LRU-defeating call
to vm_page_try_to_cache() from vm_pageout_flush(). Other changes, most
recently r286814, have made this call unnecessary.
Reviewed by: kib
Discussed with: jeff
Tested by: pho
Sponsored by: EMC / Isilon Storage Division
Modified:
head/sys/vm/vm_pageout.c
Modified: head/sys/vm/vm_pageout.c
==============================================================================
--- head/sys/vm/vm_pageout.c Sun Aug 16 13:59:11 2015 (r286827)
+++ head/sys/vm/vm_pageout.c Sun Aug 16 17:07:53 2015 (r286828)
@@ -566,11 +566,6 @@ vm_pageout_flush(vm_page_t *mc, int coun
if (pageout_status[i] != VM_PAGER_PEND) {
vm_object_pip_wakeup(object);
vm_page_sunbusy(mt);
- if (vm_page_count_severe()) {
- vm_page_lock(mt);
- vm_page_try_to_cache(mt);
- vm_page_unlock(mt);
- }
}
}
if (prunlen != NULL)
More information about the svn-src-all
mailing list