rcu: Fix expedited GP deadlock (and cleanup some nocb stuff)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest8 patches 0 repliesNew
- v18 patches 8 repliesSuperseded
Changes in v2 from the cover letter
* Add __maybe_unused to __call_rcu_nocb_wake() declaration (reported by Paul)
* Add reviewed-by tags
* Fix nocb changelog (reported by Neeraj)
* Fixed comment (reported by Hillf)
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | rcu/nocb: Make IRQs disablement symmetrickernel/ kernel/ | +15 | 0 replies | |
| 2/8 | rcu/nocb: Re-arrange call_rcu() NOCB specific codekernel/ kernel/ kernel/ | +39 | 0 replies | |
| 3/8 | rcu/exp: Fix RCU expedited parallel grace period kworker allocation failure recoverykernel/ | +1 | 0 replies | |
| 4/8 | rcu/exp: Handle RCU expedited grace period kworker allocation failurekernel/ kernel/ | +21 | 0 replies | |
| 5/8 | rcu: s/boost_kthread_mutex/kthread_mutexkernel/ kernel/ kernel/ | +7 | 0 replies | |
| 6/8 | rcu/exp: Make parallel exp gp kworker per rcu nodekernel/ kernel/ kernel/ +2 more | +81 | 0 replies | |
| 7/8 | rcu/exp: Handle parallel exp gp kworkers affinitykernel/ kernel/ | +78 | 0 replies | |
| 8/8 | rcu/exp: Remove rcu_par_gp_wqkernel/ kernel/ kernel/ +1 more | +8 | 0 replies |
Reviews trailers per patch
3 of 8 patches have a Reviewed-by or Acked-by.
| Patch | Neeraj Upadhyay (AMD) | Kalesh Singh |
|---|---|---|
| 1/8 | R-b | |
| 2/8 | ||
| 3/8 | R-b | |
| 4/8 | R-b | |
| 5/8 | ||
| 6/8 | ||
| 7/8 | ||
| 8/8 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/8 v2] rcu: Fix expedited GP deadlock (and cleanup some nocb stuff)
TREE04 can trigger a writer stall if run with memory pressure. This is due to a circular dependency between waiting for expedited grace period and polling on expedited grace period when workqueues go back to mayday serialization.
Here is a proposal fix.
Changes since v1:
* Add __maybe_unused to __call_rcu_nocb_wake() declaration (reported by Paul)
* Add reviewed-by tags
* Fix nocb changelog (reported by Neeraj)
* Fixed comment (reported by Hillf)
Frederic Weisbecker (8):
rcu/nocb: Make IRQs disablement symmetric
rcu/nocb: Re-arrange call_rcu() NOCB specific code rcu/exp: Fix RCU expedited parallel grace period kworker allocation
failure recovery
rcu/exp: Handle RCU expedited grace period kworker allocation failure
rcu: s/boost_kthread_mutex/kthread_mutex
rcu/exp: Make parallel exp gp kworker per rcu node rcu/exp: Handle parallel exp gp kworkers affinity
rcu/exp: Remove rcu_par_gp_wq
kernel/rcu/rcu.h | 5 - kernel/rcu/tree.c | 222 +++++++++++++++++++++++++-------------- kernel/rcu/tree.h | 18 ++-- kernel/rcu/tree_exp.h | 81 +++----------- kernel/rcu/tree_nocb.h | 38 ++++--- kernel/rcu/tree_plugin.h | 52 ++------- 6 files changed, 194 insertions(+), 222 deletions(-)
Signature · 1 line
2.34.1