Re: [PATCH tip/core/rcu 02/12] rcu: Panic if RCU tree can not accommodate all CPUs
From: Peter Zijlstra
Date: Thu Jul 30 2015 - 08:28:49 EST
On Fri, Jul 17, 2015 at 03:30:53PM -0700, Paul E. McKenney wrote:
> + if (n > rcu_capacity[MAX_RCU_LVLS])
> + panic("rcu_init_geometry: rcu_capacity[] is too small");
How can this ever happen? We _know_ NR_CPUS at compile time, there's no
way we can get more CPUs than that -- even if the hardware has more,
we'll stop enumerating.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/