summaryrefslogtreecommitdiff
path: root/lib/fault-inject.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2021-08-12 18:43:26 +0300
committerThomas Gleixner <tglx@linutronix.de>2021-08-13 11:07:44 +0300
commit4bedcc28469a24fe481a8a31b3584e6070457ddb (patch)
tree49478e181b9bfea9d7b06bc856482c67d9da3b82 /lib/fault-inject.c
parent36a21d51725af2ce0700c6ebcb6b9594aac658a6 (diff)
downloadlinux-4bedcc28469a24fe481a8a31b3584e6070457ddb.tar.xz
debugobjects: Make them PREEMPT_RT aware
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@linutronix.de> Tested-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Link: https://lore.kernel.org/r/87sfzehdnl.ffs@tglx
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions