lkml.org 
[lkml]   [2010]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [resend][PATCH 2/2] mm, mem-hotplug: update pcp->stat_threshold when memory hotplug occur
Date
> > > @@ -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?





\
 
 \ /
  Last update: 2010-10-20 04:13    [W:0.136 / U:0.452 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site