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: <20101020113500.181B.A69D9226@jp.fujitsu.com>
Date:	Wed, 20 Oct 2010 11:35:39 +0900 (JST)
From:	KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>
To:	Andrew Morton <akpm@...ux-foundation.org>
Cc:	kosaki.motohiro@...fujitsu.com,
	David Rientjes <rientjes@...gle.com>,
	KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>,
	Mel Gorman <mel@....ul.ie>,
	LKML <linux-kernel@...r.kernel.org>,
	linux-mm <linux-mm@...ck.org>,
	Christoph Lameter <cl@...ux-foundation.org>
Subject: Re: [resend][PATCH 2/2] mm, mem-hotplug: update pcp->stat_threshold when memory hotplug occur

> On Wed, 20 Oct 2010 11:07:33 +0900 (JST) KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com> wrote:
> 
> > > > > @@ -5013,6 +5014,8 @@ int __meminit init_per_zone_wmark_min(void)
> > > > >  		min_free_kbytes = 128;
> > > > >  	if (min_free_kbytes > 65536)
> > > > >  		min_free_kbytes = 65536;
> > > > > +
> > > > > +	refresh_zone_stat_thresholds();
> > > > >  	setup_per_zone_wmarks();
> > > > >  	setup_per_zone_lowmem_reserve();
> > > > >  	setup_per_zone_inactive_ratio();
> > > > 
> > > > setup_per_zone_wmarks() could change the min and low watermarks for a zone 
> > > > when refresh_zone_stat_thresholds() would have used the old value.
> > > 
> > > Indeed.
> > > 
> > > I could make the obvious fix, but then what I'd have wouldn't be
> > > sufficiently tested.
> > 
> > Can we review this?
> 
> It's unclear what you mean?
> 
> The patches otherwise look OK to me, but it's pretty easy to make
> mistakes in this area.

Ah, I misunderstood. I thought you have perfectly different approach patch.
I'll respin.

Thanks.



--
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