Re: debugobject: Make it work with deferred page initialization - again
From: Thomas Gleixner
Date: Wed Jun 24 2026 - 05:20:40 EST
On Tue, Jun 23 2026 at 22:50, Vlastimil Babka wrote:
> On 2/7/26 14:27, Thomas Gleixner wrote:
>> In preemptible context the reclaim bit is harmless and not a performance
>> issue as that's usually invoked from slow path initialization context.
>>
>> That makes debugobjects depend on PREEMPT_COUNT || !DEFERRED_STRUCT_PAGE_INIT.
>>
>> Fixes: af92793e52c3 ("slab: Introduce kmalloc_nolock() and kfree_nolock().")
>> Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
>
> FYI, it should now be possible to revert this workaround:
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=335c347686e76df9d2c7d7f61b5ea627a4c5cb4c
Cool.