]> git.hungrycats.org Git - linux/commit
[PATCH] sched: passive balancing damping
authorAndrew Morton <akpm@osdl.org>
Mon, 10 May 2004 06:28:57 +0000 (23:28 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 10 May 2004 06:28:57 +0000 (23:28 -0700)
commitdf65cdbf6bc82e79658c35e14221fef34f4db6d0
treea185df2a8a533d5d6fa83c002c82b4ff1c3e4dee
parent237eaf03e4264e7171de2c993c6ad94f30f64a2d
[PATCH] sched: passive balancing damping

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

This patch starts to balance woken processes when half the relevant domain's
imbalance_pct is reached.  Previously balancing would start after a small,
constant difference in waker/wakee runqueue loads was reached, which would
cause too much process movement when there are lots of processes running.

It also turns wake balancing into a domain flag while previously it was always
on.  Now sched domains can "soft partition" an SMP system without using
processor affinities.
include/linux/sched.h
kernel/sched.c