Re: [PATCH 01/31] mm, vmstat: add infrastructure for per-node vmstats

2016-07-05 Thread Minchan Kim
On Tue, Jul 05, 2016 at 09:14:05AM +0100, Mel Gorman wrote: > On Tue, Jul 05, 2016 at 08:50:18AM +0900, Minchan Kim wrote: > > > @@ -172,13 +174,17 @@ void refresh_zone_stat_thresholds(void) > > > int threshold; > > > > > > for_each_populated_zone(zone) { > > > + struct pglist_data *p

Re: [PATCH 01/31] mm, vmstat: add infrastructure for per-node vmstats

2016-07-05 Thread Mel Gorman
On Tue, Jul 05, 2016 at 08:50:18AM +0900, Minchan Kim wrote: > > @@ -172,13 +174,17 @@ void refresh_zone_stat_thresholds(void) > > int threshold; > > > > for_each_populated_zone(zone) { > > + struct pglist_data *pgdat = zone->zone_pgdat; > > unsigned long max_drift,

Re: [PATCH 01/31] mm, vmstat: add infrastructure for per-node vmstats

2016-07-04 Thread Minchan Kim
On Fri, Jul 01, 2016 at 09:01:09PM +0100, Mel Gorman wrote: > VM statistic counters for reclaim decisions are zone-based. If the kernel > is to reclaim on a per-node basis then we need to track per-node > statistics but there is no infrastructure for that. The most notable > change is that the ol