]> git.ipfire.org Git - thirdparty/linux.git/commit
debugobjects: Use LD_WAIT_CONFIG instead of LD_WAIT_SLEEP
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Thu, 27 Nov 2025 15:36:52 +0000 (16:36 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 27 Nov 2025 15:55:34 +0000 (16:55 +0100)
commit37de2dbc318ee10577c1c2704de5a803e75e55a2
treed15c59088b8369e3b7708c1e694f7028fc78bf98
parent06e0ae988f6e3499785c407429953ade19c1096b
debugobjects: Use LD_WAIT_CONFIG instead of LD_WAIT_SLEEP

fill_pool_map is used to suppress nesting violations caused by acquiring
a spinlock_t (from within the memory allocator) while holding a
raw_spinlock_t. The used annotation is wrong.

LD_WAIT_SLEEP is for always sleeping lock types such as mutex_t.
LD_WAIT_CONFIG is for lock type which are sleeping while spinning on
PREEMPT_RT such as spinlock_t.

Use LD_WAIT_CONFIG as override.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://patch.msgid.link/20251127153652.291697-3-bigeasy@linutronix.de
lib/debugobjects.c