rcu: shrink rcutiny by making synchronize_rcu_bh() be inline
commitda848c47bc6e873a54a445ea1960423a495b6b32
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 30 Mar 2010 22:46:01 +0000 (30 15:46 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 10 May 2010 18:08:32 +0000 (10 11:08 -0700)
tree4c0eaef1a5990585730f00caca0cfcba21fe9f9f
parent32c141a0a1dfa29e0a07d78bec0c0919fc4b9f88
rcu: shrink rcutiny by making synchronize_rcu_bh() be inline

Because synchronize_rcu_bh() is identical to synchronize_sched(),
make the former a static inline invoking the latter, saving the
overhead of an EXPORT_SYMBOL_GPL() and the duplicate code.

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