lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080705125945.39c40e0a.kamezawa.hiroyu@jp.fujitsu.com>
Date:	Sat, 5 Jul 2008 12:59:45 +0900
From:	KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>
To:	Andrew Morton <akpm@...ux-foundation.org>
Cc:	Rik van Riel <riel@...hat.com>, linux-kernel@...r.kernel.org,
	linux-mm@...ck.org,
	"kosaki.motohiro@...fujitsu.com" <kosaki.motohiro@...fujitsu.com>
Subject: Re: memcg: lru scan fix (Was: 2.6.26-rc8-mm1

On Fri, 4 Jul 2008 12:24:59 -0700
Andrew Morton <akpm@...ux-foundation.org> wrote:

> On Fri, 4 Jul 2008 15:16:56 -0400 Rik van Riel <riel@...hat.com> wrote:
> 
> > On Fri, 4 Jul 2008 18:02:26 +0900
> > KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com> wrote:
> > 
> > > Index: test-2.6.26-rc8-mm1/mm/vmscan.c
> > > ===================================================================
> > > --- test-2.6.26-rc8-mm1.orig/mm/vmscan.c
> > > +++ test-2.6.26-rc8-mm1/mm/vmscan.c
> > > @@ -1501,6 +1501,8 @@ static unsigned long shrink_zone(int pri
> > >  	 */
> > >  	if (scan_global_lru(sc) && inactive_anon_is_low(zone))
> > >  		shrink_active_list(SWAP_CLUSTER_MAX, zone, sc, priority, 0);
> > > +	else if (!scan_global_lru(sc))
> > > +		shrink_active_list(SWAP_CLUSTER_MAX, zone, sc, priority, 0);
> > 
> > Makes sense.
> > 
> > Acked-by: Rik van Riel <riel@...hat.com>
> > 
> 
> Thanks.  Poor old me needs to work out which patch this patch fixes. 
> It's always appreciated if others tell me :)
> 

Maybe mine is against this one.
http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.26-rc8/2.6.26-rc8-mm1/broken-out/vmscan-second-chance-replacement-for-anonymous-pages.patch

This adds inactive_anon_is_low() logic.

Thanks,
-Kame

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ