Skip to content

rcu: Fix yet another wake up from offline related issue

Frederic Weisbecker lkml rcu 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3rcu/nocb: Use switch/case on NOCB timer state machinekernel/rcu/tree_nocb.h+23 -102 replies
2/3rcu/nocb: Fix rcuog wake-up from offline softirqkernel/rcu/tree.h kernel/rcu/tree_nocb.h+13 -23 replies
3/3rcu: Report callbacks enqueued on offline CPU blind spotkernel/rcu/tree.c+3 -05 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchPaul E. McKenneyJoel Fernandes (Google)
1/3
2/3R-b
3/3T-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] rcu: Fix yet another wake up from offline related issue

Hi,

A new warning has been reported due to swake_up_one_online() use from an offline IRQ:

	https://lore.kernel.org/oe-lkp/[email protected]

Here is a tentative fix.

Similar issue can happen with exp kthread and GP kthread if offline tick fires and there is a pending deferred quiescent state to report on PREEMPT_RCU. Currently only oneshot ticks are disabled while the CPU is offlining. I have yet to take care of the periodic tick implementation. Work in progress...

Frederic Weisbecker (3):
rcu/nocb: Use switch/case on NOCB timer state machine rcu/nocb: Fix rcuog wake-up from offline softirq
rcu: Report callbacks enqueued on offline CPU blind spot

 kernel/rcu/tree.c      |  3 +++
 kernel/rcu/tree.h      |  1 +
 kernel/rcu/tree_nocb.h | 47 +++++++++++++++++++++++++++++++-----------
 3 files changed, 39 insertions(+), 12 deletions(-)
Signature · 1 line
2.46.0