Skip to content

rcu: Deoffload rdp if rcuop/rcuog kthreads spawn failed

Zqiang lkml rcu 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 1 replyIn review
  2. v32 patches 1 replySuperseded
  3. v21 patch 1 replySuperseded

Changes in v4 from the cover letter

Protect SEGCBLIST_KTHREAD_CB flags clear with rcu_nocb lock.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2rcu: Call rcu_nocb_rdp_deoffload() directly after rcuog/op kthreads spawn failedkernel/rcu/tree_nocb.h+61 -160 replies
2/2rcu: Invert the locking dependency order between rcu_state.barrier_mutex and hotplug lockkernel/rcu/tree_nocb.h+4 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 0/2] rcu: Deoffload rdp if rcuop/rcuog kthreads spawn failed

When CONFIG_RCU_NOCB_CPU is enabled and 'rcu_nocbs' is set, the rcuop and rcuog kthreads is created. however the rcuop or rcuog kthreads creation may fail, if failed, deoffload the offloaded rdp.

---
v1->v2:
Invert the locking dependency order between rcu_state.barrier_mutex and hotplug lock.

Holding nocb_gp_kthread_mutex, ensure that the nocb_gp_kthread exists.

v2->v3:
Adjust the position of the nocb_gp_kthread_mutex, in rdp_gp->nocb_gp_kthread check upper lock nocb_gp_kthread_mutex.

Do the locking order change in a separate patch.

v3->v4:
Protect SEGCBLIST_KTHREAD_CB flags clear with rcu_nocb lock.

Zqiang(2):
rcu: Call rcu_nocb_rdp_deoffload() directly after rcuog/op kthreads spawn failed
rcu: Invert the locking dependency order between rcu_state.barrier_mutex and hotplug lock

 kernel/rcu/tree_nocb.h | 85 ++++++++++++++++++++++++++++++++----------
 1 file changed, 65 insertions(+), 20 deletions(-)
Signature · 1 line
2.25.1