xen/rcu: let rcu work better with core scheduling
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v8 Latest5 patches 5 repliesIn review
- v75 patches 9 repliesSuperseded
- v64 patches 12 repliesSuperseded
Earlier versions · 5
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v5 | 4 patches | 4 replies | Superseded | |
| v4 | 6 patches | 16 replies | Superseded | |
| v3 | 6 patches | 3 replies | Superseded | |
| v2 | 4 patches | 22 replies | Superseded | |
| v1 | 2 patches | 13 replies | Superseded |
Changes in v8 from the cover letter
- fine tuning of barriers in patch 2
Patches in v8 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | xen: introduce smp_mb__[after|before]_atomic() barriersxen/ xen/ | +6 | 0 replies | |
| 2/5 | xen/rcu: don't use stop_machine_run() for rcu_barrier()xen/ xen/ | +82 | 0 replies | |
| 3/5 | xen: don't process rcu callbacks when holding a rcu_read_lock()xen/ | +10 | 5 replies | |
| 4/5 | xen/rcu: add assertions to debug buildxen/ xen/ xen/ | +39 | 0 replies | |
| 5/5 | xen/rcu: add per-lock counter in debug buildsxen/ | +33 | 0 replies |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Jan Beulich | Julien Grall | Igor Druzhinin |
|---|---|---|---|
| 1/5 | A-b | A-b | |
| 2/5 | R-b | Partially-based-on-patch-by | |
| 3/5 | R-b | ||
| 4/5 | R-b | ||
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [Xen-devel] [PATCH v8 0/5] xen/rcu: let rcu work better with core scheduling
Today the RCU handling in Xen is affecting scheduling in several ways. It is raising sched softirqs without any real need and it requires tasklets for rcu_barrier(), which interacts badly with core scheduling.
This small series repairs those issues.
Additionally some ASSERT()s are added for verification of sane rcu handling. In order to avoid those triggering right away the obvious violations are fixed. This includes making rcu locking functions type safe.
Changes in V8:
- fine tuning of barriers in patch 2
Changes in V7:
- new patch 1
- added some barriers in patch 1
Changes in V6:
- added memory barrier in patch 1
- drop cpu_map_lock only at the end of rcu_barrier()
- re-add prempt_disable() in patch 3
Changes in V5:
- dropped already committed patches 1 and 4
- fixed race
- rework blocking of rcu processing with held rcu locks
Changes in V4:
- patch 5: use barrier()
Changes in V3:
- type safe locking functions (functions instead of macros)
- per-lock debug additions
- new patches 4 and 6
- fixed races
Changes in V2:
- use get_cpu_maps() in rcu_barrier() handling
- avoid recursion in rcu_barrier() handling
- new patches 3 and 4
Juergen Gross (5):
xen: introduce smp_mb__[after|before]_atomic() barriers xen/rcu: don't use stop_machine_run() for rcu_barrier()
xen: don't process rcu callbacks when holding a rcu_read_lock() xen/rcu: add assertions to debug build
xen/rcu: add per-lock counter in debug builds
xen/common/rcupdate.c | 110 ++++++++++++++++++++++++++++++++----------- xen/common/softirq.c | 14 +++++- xen/include/asm-arm/system.h | 3 ++ xen/include/asm-x86/system.h | 3 ++ xen/include/xen/rcupdate.h | 77 +++++++++++++++++++++++++----- 5 files changed, 165 insertions(+), 42 deletions(-)
Signature · 1 line
2.16.4