projects/linux·commit a6216978

Merge tag 'timers-urgent-2023-09-02' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

a6216978 · Linus Torvalds <[email protected]> · 2023-09-02 09:01:48 -07:00

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
Commit
a6216978de56138404e7fd61563f0f199eebf22a
Parents
23dfeae8 · 96c1fa04

Merge commit. Changes below are compared with the first parent: 23dfeae8.

Changes

1 files changed · +1 −1

FileStatusAddDelContent
kernel/time/tick-sched.cmodified+1−1View file

kernel/time/tick-sched.c

View file
diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c
index 4df14db..87015e9 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",