sched: optimize ttwu vs group scheduling
commit57310a98a354e84279d7c8af2f48805a62372e53
authorPeter Zijlstra <peterz@infradead.org>
Mon, 9 Mar 2009 12:56:21 +0000 (9 13:56 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 10 Mar 2009 15:43:36 +0000 (10 16:43 +0100)
treee0027f76f0d48da80f49cf6948de860402572837
parent8c54436ae9f59146b3d02820a3ebbf71e61f2aee
sched: optimize ttwu vs group scheduling

Impact: micro-optimization

We can avoid the sched domain walk on try_to_wake_up() when we know
there are no groups.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1236603381.8389.455.camel@laptop>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c