Re: debugobjects: Make them PREEMPT_RT aware
From: Sebastian Andrzej Siewior
Date: Thu Aug 12 2021 - 11:45:39 EST
On 2021-08-12 17:43:26 [+0200], Thomas Gleixner wrote:
> On PREEMPT_RT enabled kernels it is not possible to refill the object pool
> from atomic context (preemption or interrupts disabled) as the allocator
> might acquire 'sleeping' spinlocks.
>
> Guard the invocation of fill_pool() accordingly.
>
> Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Tested-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>
Sebastian