[lkml]   [2021]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [v7 PATCH 02/12] mm: vmscan: consolidate shrinker_maps handling code
On Tue, Feb 9, 2021 at 9:47 AM Yang Shi <> 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 <>
> Acked-by: Kirill Tkhai <>
> Signed-off-by: Yang Shi <>

Reviewed-by: Shakeel Butt <>

 \ /
  Last update: 2021-02-10 15:22    [W:0.468 / U:0.528 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site