sched/cpupri: Replace NR_CPUS arrays
authorPeter Zijlstra <peterz@infradead.org>
Wed, 14 May 2014 14:04:26 +0000 (16:04 +0200)
committerIngo Molnar <mingo@kernel.org>
Thu, 22 May 2014 08:21:29 +0000 (10:21 +0200)
Tejun reported that his resume was failing due to order-3 allocations
from sched_domain building.

Replace the NR_CPUS arrays in there with a dynamically allocated
array.

Reported-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: http://lkml.kernel.org/n/tip-7cysnkw1gik45r864t1nkudh@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>

No differences found