On 08/28/15 at 12:44P, Mark Johnston wrote: > Author: markj > Date: Fri Aug 28 00:44:17 2015 > New Revision: 287235 > URL: https://svnweb.freebsd.org/changeset/base/287235 > > Log: > Remove weighted page handling from vm_page_advise(). > > This was added in r51337 as part of the implementation of > madvise(MADV_DONTNEED). Its objective was to ensure that the page daemon > would eventually reclaim other unreferenced pages (i.e., unreferenced pages > not touched by madvise()) from the active queue. > > Now that the pagedaemon performs steady scanning of the active page queue, > this weighted handling is unnecessary. Instead, always "cache" clean pages > by moving them to the head of the inactive page queue. This simplifies the > implementation of vm_page_advise() and eliminates the fragmentation that > resulted from the distribution of pages among multiple queues. > > Suggested by: alc > Reviewed by: alc > Sponsored by: EMC / Isilon Storage Division > Differential Revision: https://reviews.freebsd.org/D3401
Nice work! Can this be mfc'd to 10? Cheers, Hiren
pgp7dQIwEFxv_.pgp
Description: PGP signature