sched/deadline: Replace NR_CPUS arrays
authorPeter Zijlstra <[email protected]>
Wed, 14 May 2014 14:13:56 +0000 (16:13 +0200)
committerIngo Molnar <[email protected]>
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 <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Acked-by: Juri Lelli <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Linus Torvalds <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
kernel/sched/cpudeadline.c
kernel/sched/cpudeadline.h