Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 May 2016 12:36:06 -0700
From:      hiren panchasara <hiren@strugglingcoder.info>
To:        Alan Cox <alc@FreeBSD.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r300865 - in head/sys: sys vm
Message-ID:  <20160527193606.GC48160@strugglingcoder.info>
In-Reply-To: <201605271915.u4RJFkEl013139@repo.freebsd.org>
References:  <201605271915.u4RJFkEl013139@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--96YOpH+ONegL0A3E
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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
>=20
> 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, be=
cause
>   we have two distinct targets for when to wakeup threads waiting for free
>   pages versus when the page daemon has completed its work.  In particula=
r,
>   the flag will be cleared by vm_page_free() before the page daemon has m=
et
>   its target, and this can lead to the OOM killer being invoked premature=
ly.
>   To address this problem, a new flag "vm_pageout_wanted" is introduced.
>  =20
>   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

--96YOpH+ONegL0A3E
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQF8BAABCgBmBQJXSKGjXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRBNEUyMEZBMUQ4Nzg4RjNGMTdFNjZGMDI4
QjkyNTBFMTU2M0VERkU1AAoJEIuSUOFWPt/lO5MIAIJ1LtU7soJapeiFhJ+aQke2
Q5VgiJtGb7T4VkGK5PRsqsg3dW8pDzzephdIH/6fpeS3h9RzYo82I5K2IMiZSy7H
r8KHJqGSXVymxG9KTOn3sMGBl9OXjq2V8LZ++Dyr7sCLEOxkpqVwUUbnAtqn/MLD
r9UhOB1tieVsLChpGrRLh5GmzuQcU92iZH6BDVCj9pgV6y40g30TV0GYzrzWqW7N
PglS11D8WcoFPQgU5a+/BalG9jsmCVjLMzxF4bCyMn6jHWCxKOihQErEZiTY+Qgk
jo7yOCA7ar5APF4Fk7JalErXVdp26Z1GIfwzc+/j4xhzrzyeoM3N3GJK5O+wVQI=
=n7Zh
-----END PGP SIGNATURE-----

--96YOpH+ONegL0A3E--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160527193606.GC48160>