[PATCH 16/31] mm: move page mapped accounting to the node

2016-07-01 Thread Mel Gorman
Reclaim makes decisions based on the number of pages that are mapped but it's mixing node and zone information. Account NR_FILE_MAPPED and NR_ANON_PAGES pages on the node. Signed-off-by: Mel Gorman Acked-by: Vlastimil Babka Acked-by: Michal Hocko --- arch/tile/mm/pgtable.c | 2 +- drivers/ba

[PATCH 16/31] mm: move page mapped accounting to the node

2016-07-01 Thread Mel Gorman
Reclaim makes decisions based on the number of pages that are mapped but it's mixing node and zone information. Account NR_FILE_MAPPED and NR_ANON_PAGES pages on the node. Link: http://lkml.kernel.org/r/1466518566-30034-17-git-send-email-mgor...@techsingularity.net Signed-off-by: Mel Gorman Ack