Date: Sun, 16 Aug 2015 17:07:53 +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: r286828 - head/sys/vm Message-ID: <201508161707.t7GH7r0s064935@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508161707.t7GH7r0s064935>