[GIT PULL] timers fix

From: Ingo Molnar
Date: Sat Sep 02 2023 - 06:18:44 EST


Linus,

Please pull the latest timers/urgent git tree from:

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

# HEAD: 96c1fa04f089a7e977a44e4e8fdc92e81be20bef tick/rcu: Fix false positive "softirq work is pending" messages

Fix false positive "softirq work is pending" messages on -rt
kernels, caused by a buggy factoring-out of existing code.

Thanks,

Ingo

------------------>
Paul Gortmaker (1):
tick/rcu: Fix false positive "softirq work is pending" messages


kernel/time/tick-sched.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

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