]> git.baikalelectronics.ru Git - kernel.git/commit
sched: Optimize cgroup vs wakeup a bit
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Wed, 16 Sep 2009 11:44:33 +0000 (13:44 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 16 Sep 2009 14:44:32 +0000 (16:44 +0200)
commit4ef955718780f7c261a29d1dc854acd3a7db7abc
tree7e0a0dc37d07e0308ef2294a5de1cd1ea42a388c
parent54b712db4f62508abba4d0689eb072e7d0e65795
sched: Optimize cgroup vs wakeup a bit

We don't need to call update_shares() for each domain we iterate,
just got the largets one.

However, we should call it before wake_affine() as well, so that
that can use up-to-date values too.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c
kernel/sched_fair.c
kernel/sched_features.h