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

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

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

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

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

2016-07-01 Thread Mel Gorman
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 old node_page_state is renamed to sum_zone_node_page_state. The new

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

2016-07-01 Thread Mel Gorman
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 old node_page_state is renamed to sum_zone_node_page_state. The new

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

2016-07-01 Thread Mel Gorman
Series: "Move LRU page reclaim from zones to nodes v7" This is the latest version of a series that moves LRUs from the zones to the node that is based upon 4.6-rc3 plus the page allocator optimisation series. Conceptually, this is simple but there are a lot of details. Some of the broad

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

2016-07-01 Thread Mel Gorman
Series: "Move LRU page reclaim from zones to nodes v7" This is the latest version of a series that moves LRUs from the zones to the node that is based upon 4.6-rc3 plus the page allocator optimisation series. Conceptually, this is simple but there are a lot of details. Some of the broad