svn commit: r287235 - in head/sys: sys vm
hiren panchasara
hiren at strugglingcoder.info
Fri Aug 28 06:32:24 UTC 2015
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 618 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20150827/eb158e53/attachment.bin>
More information about the svn-src-all
mailing list