[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <078201d29305$e98da760$bca8f620$@alibaba-inc.com>
Date: Thu, 02 Mar 2017 11:34:34 +0800
From: "Hillf Danton" <hillf.zj@...baba-inc.com>
To: "'Johannes Weiner'" <hannes@...xchg.org>,
"'Andrew Morton'" <akpm@...ux-foundation.org>
Cc: "'Jia He'" <hejianet@...il.com>, "'Michal Hocko'" <mhocko@...e.cz>,
"'Mel Gorman'" <mgorman@...e.de>, <linux-mm@...ck.org>,
<linux-kernel@...r.kernel.org>, <kernel-team@...com>
Subject: Re: [PATCH 7/9] mm: delete NR_PAGES_SCANNED and pgdat_reclaimable()
On March 01, 2017 5:40 AM Johannes Weiner wrote:
>
> NR_PAGES_SCANNED counts number of pages scanned since the last page
> free event in the allocator. This was used primarily to measure the
> reclaimability of zones and nodes, and determine when reclaim should
> give up on them. In that role, it has been replaced in the preceeding
> patches by a different mechanism.
>
> Being implemented as an efficient vmstat counter, it was automatically
> exported to userspace as well. It's however unlikely that anyone
> outside the kernel is using this counter in any meaningful way.
>
> Remove the counter and the unused pgdat_reclaimable().
>
> Signed-off-by: Johannes Weiner <hannes@...xchg.org>
> ---
Acked-by: Hillf Danton <hillf.zj@...baba-inc.com>
Powered by blists - more mailing lists