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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Yes.

> >Signed-off-by: Mel Gorman <mgorman@xxxxxxxxxxxxxxxxxxx>
> 
> Acked-by: Vlastimil Babka <vbabka@xxxxxxx>
> 
> I've noticed some new "page_zone(page)->zone_pgdat" instances here.
> 

FWIW, I created a page_pgdat helper and converted all patterns like this
introduced by the series to the helper. There are other potential users
of the helper in the tree that are not touched by the patches but I left
them to preserve history.

-- 
Mel Gorman
SUSE Labs

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]