]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sched: Validate assumptions in sched_init_numa()
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Thu, 31 May 2012 19:20:16 +0000 (21:20 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 6 Jun 2012 14:52:30 +0000 (16:52 +0200)
commitd039ac60800fe8ed8522ec3b9ca796aaf748c18b
treeb00845d9466d1abed5dbfda1e3c68713333460bc
parentc3decf0dfbc95736b7c0ab68fa4e5854c4734da9
sched: Validate assumptions in sched_init_numa()

Add some code to validate assumptions we're making and output
warnings if they are not.

If this trigger we want to know about it.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Alex Shi <lkml.alex@gmail.com>
Link: http://lkml.kernel.org/n/tip-6uc3wk5s9udxtdl9cnku0vtt@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/core.c