Skip to content

Debloat rcu_segcblist header file

Paul E. McKenney lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2srcu: Debloat the <linux/rcu_segcblist.h> headerinclude/linux/rcu_segcblist.h kernel/rcu/rcu_segcblist.h kernel/rcu/srcutiny.c +2 more+652 -6260 replies
2/2rcu: Separately compile large rcu_segcblist functionsinit/Kconfig kernel/rcu/Makefile kernel/rcu/rcu_segcblist.c +1 more+544 -4980 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH tip/core/rcu 0/2] Debloat rcu_segcblist header file

Hello!

This series debloats the include/linux/rcu_segcblist.h include file:

1. Leave data structures in include/linux/rcu_segcblist.h, but
move functions to kernel/rcu/rcu_segcblist.h, courtesy of Ingo Molnar.

2. Move non-trivial functions from kernel/rcu/rcu_segcblist.h
to kernel/rcu/rcu_segcblist.c to avoid excessive inlining of large functions.

Additional patches open-coding some of the more trivial functions to follow.

Thanx, Paul

------------------------------------------------------------------------

 include/linux/rcu_segcblist.h |  628 ----------------------
 init/Kconfig                  |    3 
 kernel/rcu/Makefile           |    1 
 kernel/rcu/rcu_segcblist.c    |  505 ++++++++++++++++++
 kernel/rcu/rcu_segcblist.h    | 1178 ++++++++++++++++++++++++------------------
 kernel/rcu/srcutiny.c         |    1 
 kernel/rcu/srcutree.c         |    1 
 kernel/rcu/tree.h             |    3 
 8 files changed, 1196 insertions(+), 1124 deletions(-)