aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2023-09-02 09:01:48 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2023-09-02 09:01:48 -0700
commita6216978de56138404e7fd61563f0f199eebf22a (patch)
treedf055a640a49ccba58adbb2565489b7f9e0adbcd
parent23dfeae882ff45649d2379dde9c63c9476546db5 (diff)
parent96c1fa04f089a7e977a44e4e8fdc92e81be20bef (diff)
downloadlinux-a6216978de56138404e7fd61563f0f199eebf22a.tar.gz
Merge tag 'timers-urgent-2023-09-02' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull timer fix from Ingo Molnar: "Fix false positive 'softirq work is pending' messages on -rt kernels, caused by a buggy factoring-out of existing code" * tag 'timers-urgent-2023-09-02' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: tick/rcu: Fix false positive "softirq work is pending" messages
-rw-r--r--kernel/time/tick-sched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c
index 4df14db4da490d..87015e9deacc99 100644
--- a/kernel/time/tick-sched.c
+++ b/kernel/time/tick-sched.c
@@ -1045,7 +1045,7 @@ static bool report_idle_softirq(void)
return false;
/* On RT, softirqs handling may be waiting on some lock */
- if (!local_bh_blocked())
+ if (local_bh_blocked())
return false;
pr_warn("NOHZ tick-stop error: local softirq work is pending, handler #%02x!!!\n",