[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250318164243.GA1867495@cmpxchg.org>
Date: Tue, 18 Mar 2025 12:42:43 -0400
From: Johannes Weiner <hannes@...xchg.org>
To: Hao Jia <jiahao.kernel@...il.com>
Cc: akpm@...ux-foundation.org, tj@...nel.org, corbet@....net,
mhocko@...nel.org, roman.gushchin@...ux.dev, shakeel.butt@...ux.dev,
muchun.song@...ux.dev, mkoutny@...e.com, cgroups@...r.kernel.org,
linux-mm@...ck.org, linux-kernel@...r.kernel.org,
linux-doc@...r.kernel.org, Hao Jia <jiahao1@...iang.com>
Subject: Re: [PATCH 1/2] mm: vmscan: Split proactive reclaim statistics from
direct reclaim statistics
On Tue, Mar 18, 2025 at 03:58:32PM +0800, Hao Jia wrote:
> From: Hao Jia <jiahao1@...iang.com>
>
> In proactive memory reclaim scenarios, it is necessary to
> accurately track proactive reclaim statistics to dynamically
> adjust the frequency and amount of memory being reclaimed
> proactively. Currently, proactive reclaim is included in
> direct reclaim statistics, which can make these
> direct reclaim statistics misleading.
>
> Therefore, separate proactive reclaim memory from the
> direct reclaim counters by introducing new counters:
> pgsteal_proactive, pgdemote_proactive, and pgscan_proactive,
> to avoid confusion with direct reclaim.
>
> Signed-off-by: Hao Jia <jiahao1@...iang.com>
This is indeed quite useful.
Acked-by: Johannes Weiner <hannes@...xchg.org>
Powered by blists - more mailing lists