Re: [PATCH] memcg: decouple memcg_hotplug_cpu_dead from stock_lock

From: Roman Gushchin
Date: Thu Apr 10 2025 - 20:00:35 EST


Shakeel Butt <shakeel.butt@xxxxxxxxx> writes:

> The function memcg_hotplug_cpu_dead works on the stock of a remote dead
> CPU and drain_obj_stock works on the given stock instead of local stock,
> so there is no need to take local stock_lock anymore.
>
> Signed-off-by: Shakeel Butt <shakeel.butt@xxxxxxxxx>

Acked-by: Roman Gushchin <roman.gushchin@xxxxxxxxx>

Thanks!