Re: [PATCH 03/25] mm, vmscan: Move LRU lists to node

2015-06-15 Thread Mel Gorman
On Thu, Jun 11, 2015 at 03:12:12PM +0800, Hillf Danton wrote: > > @@ -774,6 +764,21 @@ typedef struct pglist_data { > > ZONE_PADDING(_pad1_) > > spinlock_t lru_lock; > > > > + /* Fields commonly accessed by the page reclaim scanner */ > > + struct lruvec lruvec;

Re: [PATCH 03/25] mm, vmscan: Move LRU lists to node

2015-06-11 Thread Hillf Danton
> @@ -774,6 +764,21 @@ typedef struct pglist_data { > ZONE_PADDING(_pad1_) > spinlock_t lru_lock; > > + /* Fields commonly accessed by the page reclaim scanner */ > + struct lruvec lruvec; > + > + /* Evictions & activations on the inactive file list *

[PATCH 03/25] mm, vmscan: Move LRU lists to node

2015-06-08 Thread Mel Gorman
This moves the LRU lists from the zone to the node and all related data such as counters, tracing, congestion tracking and writeback tracking. This is mostly a mechanical patch but note that it introduces a number of anomalies. For example, the scans are per-zone but using per-node counters. We als