diff options
author | 2008-10-08 09:16:04 +0200 | |
---|---|---|
committer | 2008-10-08 12:20:26 +0200 | |
commit | 2fb7635c4cea310992a39580133099dd99ad151c (patch) | |
tree | e898c690d05c3dfeaa733fb3472eff400669be3a /kernel/uid16.c | |
parent | Merge branches 'sched/devel', 'sched/cpu-hotplug', 'sched/cpusets' and 'sched/urgent' into sched/core (diff) | |
download | linux-dev-2fb7635c4cea310992a39580133099dd99ad151c.tar.xz linux-dev-2fb7635c4cea310992a39580133099dd99ad151c.zip |
sched: sync wakeups vs avg_overlap
While looking at the code I wondered why we always do:
sync && avg_overlap < migration_cost
Which is a bit odd, since the overlap test was meant to detect sync wakeups
so using it to specialize sync wakeups doesn't make much sense.
Hence change the code to do:
sync || avg_overlap < migration_cost
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/uid16.c')
0 files changed, 0 insertions, 0 deletions