summaryrefslogtreecommitdiff
path: root/arch/alpha/kernel
diff options
context:
space:
mode:
authorWen Yang <wenyang.linux@foxmail.com>2023-05-05 00:12:53 +0800
committerThomas Gleixner <tglx@linutronix.de>2023-06-18 22:41:53 +0200
commita7e282c77785c7eabf98836431b1f029481085ad (patch)
treeaeada0a31cb0331d651baa1ad21b00eeb46da462 /arch/alpha/kernel
parentfc4b4d96f793c827a5abf23df3e793592dbd38ce (diff)
tick/rcu: Fix bogus ratelimit condition
The ratelimit logic in report_idle_softirq() is broken because the exit condition is always true: static int ratelimit; if (ratelimit < 10) return false; ---> always returns here ratelimit++; ---> no chance to run Make it check for >= 10 instead. Fixes: 0345691b24c0 ("tick/rcu: Stop allowing RCU_SOFTIRQ in idle") Signed-off-by: Wen Yang <wenyang.linux@foxmail.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/tencent_5AAA3EEAB42095C9B7740BE62FBF9A67E007@qq.com
Diffstat (limited to 'arch/alpha/kernel')
0 files changed, 0 insertions, 0 deletions