Re: [PATCH-tip v3] debugobjects: Don't call fill_pool() in early boot non-task context
From: Sebastian Andrzej Siewior
Date: Wed Jun 03 2026 - 11:38:51 EST
On 2026-06-03 10:59:55 [-0400], Waiman Long wrote:
> I guess softirq won't be active during early boot. If in_nmi() is true, we
> are screwed for non-RT kernel as well. So only checking for in_hardirq()
> should be fine. I will adopt your suggestion and send a new version.
softirqs shouldn't be active but if they are then are either delayed to
ksoftirqd or inline as of local_bh_enable() which is fine.
And for in_nmi() we are screwed anyway yes :)
> Thanks,
> Longman
>
Sebastian