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
pgpV67__ajwY5.pgp
Description: PGP signature