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

From: Paul E. McKenney
Date: Tue May 02 2017 - 11:35:52 EST


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(-)