Re: [PATCH 16/27] mm: Move page mapped accounting to the node

2016-06-23 Thread Mel Gorman
On Tue, Jun 21, 2016 at 03:32:06PM -0700, Andrew Morton wrote: > On Tue, 21 Jun 2016 15:15:55 +0100 Mel Gorman > wrote: > > > 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

Re: [PATCH 16/27] mm: Move page mapped accounting to the node

2016-06-22 Thread Michal Hocko
On Tue 21-06-16 15:15:55, Mel Gorman wrote: > 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. So we will lose this stat in /proc/zoneinfo, but I am not really sure we sho

Re: [PATCH 16/27] mm: Move page mapped accounting to the node

2016-06-21 Thread Andrew Morton
On Tue, 21 Jun 2016 15:15:55 +0100 Mel Gorman wrote: > 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. Boy, the difference between __mod_zone_page_state(pag

Re: [PATCH 16/27] mm: Move page mapped accounting to the node

2016-06-16 Thread Mel Gorman
On Thu, Jun 16, 2016 at 05:52:59PM +0200, Vlastimil Babka wrote: > On 06/09/2016 08:04 PM, Mel Gorman wrote: > >Reclaim makes decisions based on the number of file pages that are mapped but > >it's mixing node and zone information. Account NR_FILE_MAPPED pages on the > >node. > > And NR_ANON_PAGE

Re: [PATCH 16/27] mm: Move page mapped accounting to the node

2016-06-16 Thread Vlastimil Babka
On 06/09/2016 08:04 PM, Mel Gorman wrote: Reclaim makes decisions based on the number of file pages that are mapped but it's mixing node and zone information. Account NR_FILE_MAPPED pages on the node. And NR_ANON_PAGES. Signed-off-by: Mel Gorman Acked-by: Vlastimil Babka I've noticed som