Re: [PATCH] memcg: decouple memcg_hotplug_cpu_dead from stock_lock
From: Shakeel Butt
Date: Tue Apr 15 2025 - 13:01:25 EST
On Tue, Apr 15, 2025 at 08:30:54AM +0200, Sebastian Andrzej Siewior wrote:
> On 2025-04-14 10:55:31 [-0700], Shakeel Butt wrote:
> > Vlastimil & Sebastian, if you don't have a strong opinion/push-back on
> > this patch then I will keep it as is. However I am planning to rework
> > the memcg stats (& vmstats) to see if I can use dedicated local_lock for
> > them and able to modify them in any context.
>
> Please don't use local_irq_save().
Sounds good. Andrew, can you please drop this patch (I think it was
picked into mm-new).
BTW I think using local_irq_save() is not wrong and just not preferred
for RT kernel, is that correct?