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)
commit944770ab54babaef29d9d1dc8189898b3ee8afcf
tree7bc0c6c9424b46601c4fc6c5d693b3601fbf06ef
parentb0827819b0da4acfbc1df1e05edcf50efd07cbd1
sched/deadline: Replace NR_CPUS arrays

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>
kernel/sched/cpudeadline.c
kernel/sched/cpudeadline.h