From owner-svn-src-all@freebsd.org Fri May 27 19:36:12 2016 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E8F4FB4CACF; Fri, 27 May 2016 19:36:12 +0000 (UTC) (envelope-from hiren@strugglingcoder.info) Received: from mail.strugglingcoder.info (strugglingcoder.info [104.236.146.68]) by mx1.freebsd.org (Postfix) with ESMTP id DB4101DF8; Fri, 27 May 2016 19:36:12 +0000 (UTC) (envelope-from hiren@strugglingcoder.info) Received: from localhost (unknown [10.1.1.3]) (Authenticated sender: hiren@strugglingcoder.info) by mail.strugglingcoder.info (Postfix) with ESMTPA id AB52F170EB; Fri, 27 May 2016 12:36:06 -0700 (PDT) Date: Fri, 27 May 2016 12:36:06 -0700 From: hiren panchasara To: Alan Cox 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> References: <201605271915.u4RJFkEl013139@repo.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="96YOpH+ONegL0A3E" Content-Disposition: inline In-Reply-To: <201605271915.u4RJFkEl013139@repo.freebsd.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 May 2016 19:36:13 -0000 --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--