[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20160621153206.2d72954b22dddee7f1d8b9a5@linux-foundation.org>
Date: Tue, 21 Jun 2016 15:32:06 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Mel Gorman <mgorman@...hsingularity.net>
Cc: Linux-MM <linux-mm@...ck.org>, Rik van Riel <riel@...riel.com>,
Vlastimil Babka <vbabka@...e.cz>,
Johannes Weiner <hannes@...xchg.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 16/27] mm: Move page mapped accounting to the node
On Tue, 21 Jun 2016 15:15:55 +0100 Mel Gorman <mgorman@...hsingularity.net> 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.
<wading through rejects>
Boy, the difference between
__mod_zone_page_state(page_zone(page), ...
and
__mod_node_page_state(page_pgdat(page), ...
is looking subtle. When and why to use one versus the other. I'm not
seeing any explanation of this in there but haven't yet looked hard.
Powered by blists - more mailing lists