]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rcu: Shrink TINY_RCU by moving exit_rcu()
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 11 Apr 2013 17:15:52 +0000 (10:15 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 22 May 2013 21:00:45 +0000 (14:00 -0700)
commitc762eb00242a3cfa1f34746f343499650e7ef973
tree71abd42af4d3baed32d9c432676198779aaf1734
parentf619f723924ba35faaed7ca3a8838b43335c433e
rcu: Shrink TINY_RCU by moving exit_rcu()

Now that TINY_PREEMPT_RCU is no more, exit_rcu() is always an empty
function.  But if TINY_RCU is going to have an empty function, it should
be in include/linux/rcutiny.h, where it does not bloat the kernel.
This commit therefore moves exit_rcu() out of kernel/rcupdate.c to
kernel/rcutree_plugin.h, and places a static inline empty function in
include/linux/rcutiny.h in order to shrink TINY_RCU a bit.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
include/linux/rcupdate.h
include/linux/rcutiny.h
include/linux/rcutree.h
kernel/rcupdate.c
kernel/rcutree_plugin.h