Re: [PATCH] mm/memcontrol: avoid stuck FLUSHING_CACHED_CHARGE bit on isolated cpus
From: Rik van Riel
Date: Fri Aug 28 2026 - 12:16:12 EST
On Fri, 2026-08-28 at 08:41 -0700, Shakeel Butt wrote:
>
> Let's go with this patch. We can simplify above by inversing the
> check:
>
> if (cpu_is_isolated(cpu))
> return false;
>
At that point, we could also clear the bit here, and
have the function return void again, so there's no
duplication of that check and clear in drain_all_stock()
>
> queue_work_on(cpu, memcg_wq, &memcg_st->work);
> return true;
Let me send that.
--
All Rights Reversed.