Re: [PATCH v1 4/6] memcg-v1: no need for memcg locking for writeback tracking

From: Johannes Weiner
Date: Mon Oct 28 2024 - 10:01:04 EST


On Thu, Oct 24, 2024 at 06:23:01PM -0700, Shakeel Butt wrote:
> During the era of memcg charge migration, the kernel has to be make sure
> that the writeback stat updates do not race with the charge migration.
> Otherwise it might update the writeback stats of the wrong memcg. Now
> with the memcg charge migration deprecated, there is no more race for
> writeback stat updates and the previous locking can be removed.
>
> Signed-off-by: Shakeel Butt <shakeel.butt@xxxxxxxxx>

Acked-by: Johannes Weiner <hannes@xxxxxxxxxxx>