srcu: Shrink Tiny SRCU a bit
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 28 Apr 2017 21:16:16 +0000 (14:16 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 8 Jun 2017 15:25:38 +0000 (08:25 -0700)
commitd4efe6c5ad91f9a1f2f1d66b7fbfc87e320b2abc
tree3f5aae932e67b13e70c516bee390ab83c087cdc7
parent07f6e64bf2ab98cad0d9c595659209858e7bff83
srcu: Shrink Tiny SRCU a bit

In Tiny SRCU, __srcu_read_lock() is a trivial function, outweighed by
its EXPORT_SYMBOL_GPL(), and on many architectures, its call sequence.
This commit therefore moves it to srcutiny.h so that it can be inlined.

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