rcu/nocb: De-offload and re-offload support v3
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest16 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/16 | rcu: Implement rcu_segcblist_is_offloaded() config dependentkernel/ kernel/ | +8 | 0 replies | |
| 2/16 | rcu: Turn enabled/offload states into a common flaginclude/ kernel/ kernel/ | +28 | 0 replies | |
| 3/16 | rcu: Provide basic callback offloading state machine bitsinclude/ kernel/ kernel/ +1 more | +128 | 0 replies | |
| 4/16 | rcu/nocb: Always init segcblist on CPU upkernel/ | +9 | 0 replies | |
| 5/16 | rcu: De-offloading CB kthreadinclude/ kernel/ kernel/ +2 more | +126 | 4 replies | |
| 6/16 | rcu/nocb: Don't deoffload an offline CPU with pending workkernel/ | +8 | 0 replies | |
| 7/16 | rcu: De-offloading GP kthreadkernel/ | +51 | 0 replies | |
| 8/16 | rcu: Re-offload supportinclude/ kernel/ | +138 | 0 replies | |
| 9/16 | rcu: Shutdown nocb timer on de-offloadingkernel/ kernel/ | +12 | 0 replies | |
| 10/16 | rcu: Flush bypass before setting SEGCBLIST_SOFTIRQ_ONLYkernel/ | +9 | 0 replies | |
| 11/16 | rcu: Set SEGCBLIST_SOFTIRQ_ONLY at the very last stage of de-offloadingkernel/ | +8 | 0 replies | |
| 12/16 | rcu/nocb: Only cond_resched() from actual offloaded batch processingkernel/ | +1 | 0 replies | |
| 13/16 | rcu: Process batch locally as long as offloading isn't completekernel/ kernel/ | +14 | 0 replies | |
| 14/16 | rcu: Locally accelerate callbacks as long as offloading isn't completekernel/ | +3 | 0 replies | |
| 15/16 | rcutorture: Test runtime toggling of CPUs' callback offloadingDocumentation/ kernel/ kernel/ | +93 | 0 replies | |
| 16/16 | tools/rcutorture: Support nocb toggle in TREE01tools/ | +3 | 0 replies |
Reviews trailers per patch
None of the 16 patches has a Reviewed-by or Acked-by.
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/16] rcu/nocb: De-offload and re-offload support v3
Hi,
This is the third attempt to make rcu-nocb mutable at runtime. See v2 there: https://lwn.net/Articles/832031/
Many fixes included and rcutorture support:
03: Whitespace fix
04: Add "rcu/nocb: Always init segcblist on CPU up" (Thanks rcutorture!)
05: Add return value for failure on (de)offloading
06: Add "rcu/nocb: Don't deoffload an offline CPU with pending work" (Thanks Paul!) 12: Add "rcu/nocb: Only cond_resched() from actual offloaded batch processing" (Thanks rcutorture!) 14: Write a real and more self-confident changelog
15/16: Add rcutorture support (thanks Paul!)
My last remaining worry, as exposed in 13/16, is that __call_rcu_core() isn't called during transition states. I need to see how I can handle that.
git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git
rcu/nocb-toggle-v2
HEAD: 0247cd09fd48a38741e5cc6634810985b405baca
Thanks,
Frederic
---
Frederic Weisbecker (15):
rcu: Implement rcu_segcblist_is_offloaded() config dependent
rcu: Turn enabled/offload states into a common flag
rcu: Provide basic callback offloading state machine bits rcu/nocb: Always init segcblist on CPU up
rcu: De-offloading CB kthread
rcu/nocb: Don't deoffload an offline CPU with pending work
rcu: De-offloading GP kthread
rcu: Re-offload support
rcu: Shutdown nocb timer on de-offloading
rcu: Flush bypass before setting SEGCBLIST_SOFTIRQ_ONLY
rcu: Set SEGCBLIST_SOFTIRQ_ONLY at the very last stage of de-offloading rcu/nocb: Only cond_resched() from actual offloaded batch processing
rcu: Process batch locally as long as offloading isn't complete
rcu: Locally accelerate callbacks as long as offloading isn't complete tools/rcutorture: Support nocb toggle in TREE01
Paul E. McKenney (1):
rcutorture: Test runtime toggling of CPUs' callback offloading
Documentation/admin-guide/kernel-parameters.txt | 8 + include/linux/rcu_segcblist.h | 119 +++++++- include/linux/rcupdate.h | 4 + kernel/rcu/rcu_segcblist.c | 13 +- kernel/rcu/rcu_segcblist.h | 45 ++- kernel/rcu/rcutorture.c | 86 +++++- kernel/rcu/tree.c | 47 +-- kernel/rcu/tree.h | 2 + kernel/rcu/tree_plugin.h | 330 +++++++++++++++++++-- .../selftests/rcutorture/configs/rcu/TREE01.boot | 4 +- 10 files changed, 603 insertions(+), 55 deletions(-)