diff options
author | Paul E. McKenney <[email protected]> | 2015-07-31 08:28:35 -0700 |
---|---|---|
committer | Paul E. McKenney <[email protected]> | 2015-10-06 11:09:41 -0700 |
commit | ee968ac61d5a3440b931375d81113e0eedfcb249 (patch) | |
tree | ac6f4bc6727b19506941412b6d09c5fe44ca8b3d /tools/perf/scripts/python/stackcollapse.py | |
parent | bb73c52bad3666997ed2ec83c0c80c3f8ef55008 (diff) |
rcu: Eliminate panic when silly boot-time fanout specified
This commit loosens rcutree.rcu_fanout_leaf range checks
and replaces a panic() with a fallback to compile-time values.
This fallback is accompanied by a WARN_ON(), and both occur when the
rcutree.rcu_fanout_leaf value is too small to accommodate the number of
CPUs. For example, given the current four-level limit for the rcu_node
tree, a system with more than 16 CPUs built with CONFIG_FANOUT=2 must
have rcutree.rcu_fanout_leaf larger than 2.
Reported-by: Peter Zijlstra <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
Reviewed-by: Josh Triplett <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions