Re: [PATCH] debugobjects: Allow to refill the pool before SYSTEM_SCHEDULING

From: Sebastian Andrzej Siewior

Date: Fri Nov 14 2025 - 10:42:01 EST


On 2025-11-06 13:06:28 [+0100], To linux-kernel@xxxxxxxxxxxxxxx wrote:
> The pool of free objects is refilled on several occasions such as object
> initialisation. On PREEMPT_RT refilling is limited to preemptible
> sections due to sleeping locks used by the memory allocator. The system
> boots with disabled interrupts so the pool can not be refilled.
>
> If too many objects are initialized and the pool gets empty then
> debugobjects disables itself.
>
> Refiling can also happen early in the boot with disabled interrupts as
> long as the scheduler is not operational. If the scheduler can not
> preempt a task then a sleeping lock can not be contended.
>
> Allow to additionally refill the pool if the scheduler is not
> operational.
>
> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>

A gentle ping.

Sebastian