rcu: Remove TINY_RCU bloat from pointless boot parameters
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 7 Dec 2015 21:09:52 +0000 (13:09 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 8 Dec 2015 00:59:37 +0000 (16:59 -0800)
commit79cfea0273876d9c438f3227b8f68c8c7ae31583
treeb147a1c382fd50ac1ee5113ea851b517bf3405df
parent3e42ec1aa716f10c68294b8492ae3ea684528699
rcu: Remove TINY_RCU bloat from pointless boot parameters

The rcu_expedited, rcu_normal, and rcu_normal_after_boot kernel boot
parameters are pointless in the case of TINY_RCU because in that case
synchronous grace periods, both expedited and normal, are no-ops.
However, these three symbols contribute several hundred bytes of bloat.
This commit therefore uses CPP directives to avoid compiling this code
in TINY_RCU kernels.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Documentation/kernel-parameters.txt
include/linux/rcupdate.h
kernel/ksysfs.c
kernel/rcu/update.c