Re: [PATCH] mm: memcg: initialize *locked in memcg1_oom_prepare() stub
From: Breno Leitao
Date: Fri Jun 26 2026 - 10:28:32 EST
Hello Joshua,
On Fri, Jun 26, 2026 at 06:56:11AM -0700, Joshua Hahn wrote:
> Part of me wonders if we should just initialize locked = false in the
> caller (mem_cgroup_oom) as to not make the stub have side effects,
> but your chnage looks correct and this is a fix so perhaps that is
> not so important.
Nice, your approach seems to be even better than my silly one. I will
wait for further review and respin with your approach.
Thanks,
--breno