summaryrefslogtreecommitdiff
path: root/kernel/sched_fair.c
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2011-04-07 14:09:51 +0200
committerIngo Molnar <mingo@elte.hu>2011-04-11 12:58:20 +0200
commit822ff793c34a5d4c8b5f3f9ce932602233d96464 (patch)
tree7148403303e74f4fa74dd29696908df2a751cd1b /kernel/sched_fair.c
parentdce840a08702bd13a9a186e07e63d1ef82256b5e (diff)
sched: Simplify the free path some
If we check the root_domain reference count we can see if its been used or not, use this observation to simplify some of the return paths. 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.298339503@chello.nl Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched_fair.c')
0 files changed, 0 insertions, 0 deletions