rcu: Control RCU_FANOUT_LEAF from boot-time parameter
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 23 Apr 2012 22:52:53 +0000 (15:52 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 2 Jul 2012 19:33:20 +0000 (12:33 -0700)
commitf885b7f2b2de70be266d2cecc476f773a1e2ca5d
treec4f4d03ca1469f22701b848274034a74c5ae2b04
parentcba6d0d64ee53772b285d0c0c288deefbeaf7775
rcu: Control RCU_FANOUT_LEAF from boot-time parameter

Although making RCU_FANOUT_LEAF a kernel configuration parameter rather
than a fixed constant makes it easier for people to decrease cache-miss
overhead for large systems, it is of little help for people who must
run a single pre-built kernel binary.

This commit therefore allows the value of RCU_FANOUT_LEAF to be
increased (but not decreased!) via a boot-time parameter named
rcutree.rcu_fanout_leaf.

Reported-by: Mike Galbraith <efault@gmx.de>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Documentation/kernel-parameters.txt
kernel/rcutree.c
kernel/rcutree.h
kernel/rcutree_plugin.h
kernel/rcutree_trace.c