[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZEEq3lsyhswWzhYR@casper.infradead.org>
Date: Thu, 20 Apr 2023 13:06:54 +0100
From: Matthew Wilcox <willy@...radead.org>
To: "zhaoyang.huang" <zhaoyang.huang@...soc.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Johannes Weiner <hannes@...xchg.org>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org,
Zhaoyang Huang <huangzhaoyang@...il.com>, ke.wang@...soc.com
Subject: Re: [Resend PATCH] mm: mark folio as workingset in lru_deactivate_fn
On Thu, Apr 20, 2023 at 04:45:04PM +0800, zhaoyang.huang wrote:
> From: Zhaoyang Huang <zhaoyang.huang@...soc.com>
>
> The folio will be set as workingset by shrink_active_pages during normal reclaiming.
> However, it will be escaped from doing so when madvise move it by lru_deactivate_<file>_fn,
> which will affect accuracy of thrashing.
Why are you resending this? Johannes pointed out that your
understanding of this situation is wrong. The folio is being
made _inactive_. It's clearly no longer part of the working set!
Powered by blists - more mailing lists