Re: [PATCH 1/5] mm: memcg: factor out trylock_stock() and unlock_stock()
From: Shakeel Butt
Date: Mon Mar 02 2026 - 16:54:49 EST
On Mon, Mar 02, 2026 at 02:50:14PM -0500, Johannes Weiner wrote:
> From: Johannes Weiner <jweiner@xxxxxxxx>
>
> Consolidate the local lock acquisition and the local stock
> lookup. This allows subsequent patches to use !!stock as an easy way
> to disambiguate the locked vs. contended cases through the callstack.
>
> Signed-off-by: Johannes Weiner <hannes@xxxxxxxxxxx>
Acked-by: Shakeel Butt <shakeel.butt@xxxxxxxxx>