]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - kernel/sched/core.c
sched: Avoid allocations in sched_domain_debug()
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Thu, 7 Apr 2011 12:09:58 +0000 (14:09 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 11 Apr 2011 12:05:00 +0000 (14:05 +0200)
commit4cb988395da6e16627a8be69729e50cd72ebb23e
tree17a655fbac5348de9a70ad8726354fa878bc66cb
parentf96225fd51893b6650cffd5427f13f6b1b356488
sched: Avoid allocations in sched_domain_debug()

Since we're all serialized by sched_domains_mutex we can use
sched_domains_tmpmask and avoid having to do allocations. This means
we can use sched_domains_debug() for cpu_attach_domain() again.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Nick Piggin <npiggin@kernel.dk>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Link: http://lkml.kernel.org/r/20110407122942.664347467@chello.nl
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c