Skip to content

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 Latest12 patches 3 repliesIn review

Patches in v1 No applies recorded yet

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

Reviews trailers per patch

None of the 12 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

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

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/12] 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.

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     |   41 -
 b/include/linux/rcutree.h     |    3 
 b/init/Kconfig                |   10 
 b/kernel/rcupdate.c           |   26 -
 b/kernel/rcutiny.c            |   17 
 b/kernel/rcutiny_plugin.h     | 1017 +-----------------------------------------
 b/kernel/rcutree_plugin.h     |   26 +
 10 files changed, 90 insertions(+), 1157 deletions(-)