Skip to content

v2 TINY_RCU changes for 3.11

Paul E. McKenney lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest13 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13rcu: Remove TINY_PREEMPT_RCUinclude/linux/hardirq.h include/linux/rcupdate.h include/linux/rcutiny.h +2 more+5 -8870 replies
2/13rcu: Remove show_tiny_preempt_stats()kernel/rcutiny_plugin.h+0 -130 replies
3/13rcu: Remove rcu_preempt_check_callbacks()kernel/rcutiny.c kernel/rcutiny_plugin.h+0 -90 replies
4/13rcu: Remove rcu_preempt_remove_callbacks()kernel/rcutiny.c kernel/rcutiny_plugin.h+0 -90 replies
5/13rcu: Remove rcu_preempt_process_callbacks()kernel/rcutiny.c kernel/rcutiny_plugin.h+0 -90 replies
6/13rcu: Simplify RCU_TINY RCU callback invocationinclude/linux/rcupdate.h include/linux/rcutiny.h include/linux/rcutree.h +2 more+10 -430 replies
7/13rcu: Remove check_cpu_stall_preempt()kernel/rcutiny_plugin.h+0 -70 replies
8/13rcu: Remove the CONFIG_TINY_RCU ifdefs in rcutiny.hinclude/linux/rcutiny.h+0 -80 replies
9/13rcu: Remove rcu_preempt_note_context_switch()include/linux/rcutiny.h+0 -50 replies
10/13rcu: Consolidate rcutiny_plugin.h ifdefskernel/rcutiny_plugin.h+40 -460 replies
11/13rcu: Remove TINY_PREEMPT_RCU tracing documentationDocumentation/RCU/trace.txt+4 -960 replies
12/13rcu: Shrink TINY_RCU by moving exit_rcu()include/linux/rcupdate.h include/linux/rcutiny.h include/linux/rcutree.h +2 more+33 -270 replies
13/13rcu: Shrink TINY_RCU by reworking CPU-stall ifdefskernel/rcutiny.c kernel/rcutiny_plugin.h+4 -63 replies

Reviews trailers per patch

12 of 13 patches have a Reviewed-by or Acked-by.

PatchJosh Triplett
1/13R-b
2/13R-b
3/13R-b
4/13R-b
5/13R-b
6/13R-b
7/13R-b
8/13R-b
9/13R-b
10/13R-b
11/13R-b
12/13R-b
13/13

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH tip/core/rcu 0/13] v2 TINY_RCU changes for 3.11

Hello!

This series removes TINY_PREEMPT_RCU, as promised/threatened at
http://lwn.net/Articles/541037/ and https://lkml.org/lkml/2012/11/12/545.

1. Remove TINY_PREEMPT_RCU. This is a straight syntactic removal,
with no attempt at cleanup. The remaining patches do the cleanup.

2. Inline the now-empty show_tiny_preempt_stats() function.

3. Inline the now-empty rcu_preempt_check_callbacks() function.

4. Inline the now-empty rcu_preempt_remove_callbacks() function.

5. Inline the now-empty rcu_preempt_process_callbacks() function.

6. Because TINY_RCU no longer has kthreads, remove the code that
used to abstract away kthread vs. softirq invocation.

7. Inline the now-empty check_cpu_stall_preempt() function.

8. Remove CONFIG_TINY_RCU ifdefs from include/linux/rcutiny.h

9. Inline the now-empty rcu_preempt_note_context_switch() function.

10. Move code to allow consolidating ifdefs in kernel/rcutiny_plugin.h.

11. Remove TINY_PREEMPT_RCU's tracing formats from documentation.

12. Shrink TINY_RCU a bit by moving exit_rcu() to TREE_RCU, leaving
TINY_RCU with a static inline empty function.

13. Shrink TINY_RCU a bit more by making reset_cpu_stall_ticks() and
check_cpu_stalls() inlineable.

Changes from v1: Add Reviewed-bys and add the 13th patch.

Thanx, Paul

 b/Documentation/RCU/trace.txt |  100 ----
 b/include/linux/hardirq.h     |    2 
 b/include/linux/rcupdate.h    |    5 
 b/include/linux/rcutiny.h     |   45 -
 b/include/linux/rcutree.h     |    3 
 b/init/Kconfig                |   10 
 b/kernel/rcupdate.c           |   26 -
 b/kernel/rcutiny.c            |   21 
 b/kernel/rcutiny_plugin.h     | 1023 +-----------------------------------------
 b/kernel/rcutree_plugin.h     |   26 +
 10 files changed, 96 insertions(+), 1165 deletions(-)