Re: [v7 PATCH 02/12] mm: vmscan: consolidate shrinker_maps handling code
From: Shakeel Butt <hidden>
Date: 2021-02-10 14:20:34
Also in:
linux-mm, lkml
From: Shakeel Butt <hidden>
Date: 2021-02-10 14:20:34
Also in:
linux-mm, lkml
On Tue, Feb 9, 2021 at 9:47 AM Yang Shi [off-list ref] wrote:
The shrinker map management is not purely memcg specific, it is at the intersection between memory cgroup and shrinkers. It's allocation and assignment of a structure, and the only memcg bit is the map is being stored in a memcg structure. So move the shrinker_maps handling code into vmscan.c for tighter integration with shrinker code, and remove the "memcg_" prefix. There is no functional change. Acked-by: Vlastimil Babka <redacted> Acked-by: Kirill Tkhai <redacted> Signed-off-by: Yang Shi <redacted>
Reviewed-by: Shakeel Butt <redacted>