srcu: Apply trivial callback lists to shrink Tiny SRCU
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 4 May 2017 21:29:16 +0000 (14:29 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 9 Jun 2017 01:52:35 +0000 (18:52 -0700)
commit2464dd940e23bad227c387a40eec99f7aa02ed96
treef6b03f085c113c47f4325a20b1829f43b7a46a5c
parent5a0465e17a18c467b712a816985b7b8dd8d10c16
srcu: Apply trivial callback lists to shrink Tiny SRCU

The rcu_segcblist structure provides quite a bit of functionality, and
Tiny SRCU needs almost none of it.  So this commit replaces Tiny SRCU's
uses of rcu_segcblist with a simple singly linked list with tail pointer.
This change significantly reduces Tiny SRCU's memory footprint, more
than making up for the growth caused by the creation of rcu_segcblist.c

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
include/linux/srcutiny.h
init/Kconfig
kernel/rcu/rcu.h
kernel/rcu/srcutiny.c