From: Thomas Gleixner Date: Sun, 17 Jul 2011 21:41:35 +0200 Subject: [PATCH 194/353] debugobjects: Make RT aware Origin: https://git.kernel.org/cgit/linux/kernel/git/rt/linux-stable-rt.git/commit?id=b56a11fdddede9388a998f84bc84f86f0ed9197e Avoid filling the pool / allocating memory with irqs off(). Signed-off-by: Thomas Gleixner --- lib/debugobjects.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/debugobjects.c b/lib/debugobjects.c index 5f23d896df55..e486693aea49 100644 --- a/lib/debugobjects.c +++ b/lib/debugobjects.c @@ -466,7 +466,7 @@ static void debug_objects_fill_pool(void) * On RT enabled kernels the pool refill must happen in preemptible * context: */ - if (!IS_ENABLED(CONFIG_PREEMPT_RT) || preemptible()) + if (!IS_ENABLED(CONFIG_PREEMPT_RT_FULL) || preemptible()) fill_pool(); }