Re: [PATCH v3 2/5] mm/vmscan: move code to lru_gen_{add,del}_memcg()
From: Barry Song
Date: Sun Nov 22 2026 - 20:36:03 EST
On Mon, Nov 16, 2026 at 4:14 PM Max Kellermann <max.kellermann@xxxxxxxxx> wrote:
>
> Preparation for the following patch that adds tail caching.
>
> For simplicity, hlist_nulls_del_init_rcu() is now always used, which
> is also valid during rotation, because the entry is immediately
> reinserted under `memcg_lru.lock`.
>
> Signed-off-by: Max Kellermann <max.kellermann@xxxxxxxxx>
Reviewed-by: Barry Song <baohua@xxxxxxxxxx>