]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] sched: filter affine wakeups
authorakpm@osdl.org <akpm@osdl.org>
Thu, 12 Jan 2006 09:05:32 +0000 (01:05 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 12 Jan 2006 17:08:50 +0000 (09:08 -0800)
commitd7102e95b7b9c00277562c29aad421d2d521c5f6
tree3ad3d94c329095962c6cd6dcea41e1ccf2db5a7e
parent198e2f181163233b379dc7ce8a6d7516b84042e7
[PATCH] sched: filter affine wakeups

\r)

From: Nick Piggin <nickpiggin@yahoo.com.au>

Track the last waker CPU, and only consider wakeup-balancing if there's a
match between current waker CPU and the previous waker CPU.  This ensures
that there is some correlation between two subsequent wakeup events before
we move the task.  Should help random-wakeup workloads on large SMP
systems, by reducing the migration attempts by a factor of nr_cpus.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/sched.h
kernel/sched.c