diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-05-04 14:29:16 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-06-08 18:52:35 -0700 |
commit | 2464dd940e23bad227c387a40eec99f7aa02ed96 (patch) | |
tree | f6b03f085c113c47f4325a20b1829f43b7a46a5c /init/Kconfig | |
parent | 5a0465e17a18c467b712a816985b7b8dd8d10c16 (diff) | |
download | linux-rpi3-2464dd940e23bad227c387a40eec99f7aa02ed96.tar.gz linux-rpi3-2464dd940e23bad227c387a40eec99f7aa02ed96.tar.bz2 linux-rpi3-2464dd940e23bad227c387a40eec99f7aa02ed96.zip |
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>
Diffstat (limited to 'init/Kconfig')
-rw-r--r-- | init/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init/Kconfig b/init/Kconfig index d928a3724af9..a2cfde19e8b8 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -573,7 +573,7 @@ config RCU_STALL_COMMON making these warnings mandatory for the tree variants. config RCU_NEED_SEGCBLIST - def_bool ( TREE_RCU || PREEMPT_RCU || TINY_SRCU || TREE_SRCU ) + def_bool ( TREE_RCU || PREEMPT_RCU || TREE_SRCU ) config CONTEXT_TRACKING bool |