rcu: fixes for lockdep RCU and accelerated dyntick GPs
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | rcu: fixes for accelerated grace periods for last non-dynticked CPUkernel/ kernel/ kernel/ | +57 | 1 reply | |
| 2/3 | rcu: Make non-RCU_PROVE_LOCKING rcu_read_lock_sched_held() understand bootinclude/ | +1 | 1 reply | |
| 3/3 | rcu: more fixes for accelerated GPs for last non-dynticked CPUkernel/ | +9 | 1 reply |
Reviews trailers per patch
None of the 3 patches has a Reviewed-by or Acked-by.
| Patch | Ingo Molnar |
|---|---|
| 1/3 | Located-by Located-by |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH tip/core/rcu 0/3] rcu: fixes for lockdep RCU and accelerated dyntick GPs
Hello!
This patchset includes three fixes for problems in tip/core/rcu:
1. Convert grace-period acceleration for the last non-dynticked
RCU to a trivial state machine in order to avoid illegally invoking __rcu_process_callbacks() with irqs disabled.
2. Make the non-PROVE_RCU variant of rcu_read_lock_sched_held()
understand that preemption is disabled during boot before the scheduler starts. (The earlier patch did the PROVE_RCU variant, but missed the non-PROVE_RCU variant.)
3. Add some irq-disabling to the grace-period acceleration
in #1 above and also enforce a hold-off period so that the last non-dynticked CPU doesn't softirq itself to death when there are multiple RCU callbacks in flight.
Thanx, Paul
b/include/linux/rcupdate.h | 3 - b/kernel/rcutree.c | 3 + b/kernel/rcutree.h | 1 b/kernel/rcutree_plugin.h | 74 ++++++++++++++++++++++++++++++++------------- kernel/rcutree_plugin.h | 11 +++++- 5 files changed, 67 insertions(+), 25 deletions(-)