svn commit: r300865 - in head/sys: sys vm

hiren panchasara hiren at strugglingcoder.info
Fri May 27 19:36:13 UTC 2016


On 05/27/16 at 07:15P, Alan Cox wrote:
> Author: alc
> Date: Fri May 27 19:15:45 2016
> New Revision: 300865
> URL: https://svnweb.freebsd.org/changeset/base/300865
> 
> Log:
>   The flag "vm_pages_needed" has long served two distinct purposes: (1) to
>   indicate that threads are waiting for free pages to become available and
>   (2) to indicate whether a wakeup call has been sent to the page daemon.
>   The trouble is that a single flag cannot really serve both purposes, because
>   we have two distinct targets for when to wakeup threads waiting for free
>   pages versus when the page daemon has completed its work.  In particular,
>   the flag will be cleared by vm_page_free() before the page daemon has met
>   its target, and this can lead to the OOM killer being invoked prematurely.
>   To address this problem, a new flag "vm_pageout_wanted" is introduced.
>   
>   Discussed with:	jeff
>   Reviewed by:	kib, markj
>   Tested by:	markj
>   Sponsored by:	EMC / Isilon Storage Division

I'd assume the problem exists in 10 too. Can this be MFCed there?

Cheers,
Hiren
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 603 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20160527/501b40fe/attachment.sig>


More information about the svn-src-head mailing list