From: Paul Turner Date: Mon, 15 Nov 2010 23:47:08 +0000 (-0800) Subject: sched: Implement demand based update_cfs_load() X-Git-Tag: v2.6.38-rc1~489^2~23 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b3d190ec3683d568fd2ebaead5e1ec7f97b6e37;p=pandora-kernel.git sched: Implement demand based update_cfs_load() When the system is busy, dilation of rq->next_balance makes lb->update_shares() insufficiently frequent for threads which don't sleep (no dequeue/enqueue updates). Adjust for this by making demand based updates based on the accumulation of execution time sufficient to wrap our averaging window. Signed-off-by: Paul Turner Signed-off-by: Peter Zijlstra LKML-Reference: <20101115234938.291159744@google.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed