sched: domain sysctl fixes: use kcalloc()
commit5cf9f062c8e33d5a09eaa447550330162b2a96ed
authorMilton Miller <miltonm@bga.com>
Mon, 15 Oct 2007 15:00:19 +0000 (15 17:00 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 15 Oct 2007 15:00:19 +0000 (15 17:00 +0200)
tree93095cd5531605db4084a5189fef41ef4e36d3cb
parent0dbee3a6b006dbe814d002cb18e94bf24a216451
sched: domain sysctl fixes: use kcalloc()

kcalloc checks for n * sizeof(element) overflows and it zeros.

Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c