sched/deadline: Replace NR_CPUS arrays
authorPeter Zijlstra <peterz@infradead.org>
Wed, 14 May 2014 14:13:56 +0000 (16:13 +0200)
committerIngo Molnar <mingo@kernel.org>
Thu, 22 May 2014 08:21:28 +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>
Acked-by: Juri Lelli <juri.lelli@gmail.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: http://lkml.kernel.org/n/tip-kat4gl1m5a6dwy6nzuqox45e@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>

No differences found