rcu: Panic if RCU tree can not accommodate all CPUs
authorAlexander Gordeev <agordeev@redhat.com>
Wed, 3 Jun 2015 06:18:23 +0000 (08:18 +0200)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 15 Jul 2015 21:45:12 +0000 (14:45 -0700)
commit75cf15a4c0dd57f5d230bd30c2d41bd8e06ae5a9
tree24f503cd5513b51bb1c629ce2d9229c40fc040f2
parent319362c90f7af92d03714759bea5d2ba7c88e388
rcu: Panic if RCU tree can not accommodate all CPUs

Currently a condition when RCU tree is unable to accommodate
the configured number of CPUs is not permitted and causes
a fall back to compile-time values. However, the code has no
means to exceed the RCU tree capacity neither at compile-time
nor in run-time. Therefore, if the condition is met in run-
time then it indicates a serios problem elsewhere and should
be handled with a panic.

Cc: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Alexander Gordeev <agordeev@redhat.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcu/tree.c