sched: pull only one task during NEWIDLE balancing to limit critical section
authorGregory Haskins <ghaskins@novell.com>
Mon, 29 Dec 2008 14:39:50 +0000 (09:39 -0500)
committerGregory Haskins <ghaskins@novell.com>
Mon, 29 Dec 2008 14:39:50 +0000 (09:39 -0500)
commit7e96fa5875d4a9be18d74d3ca7b90518d05bc426
tree3556aaa97bcd2dd71bd673d48b5ce4197d588fee
parent777c2f389e463428fd7e2871051a84d7fe84b172
sched: pull only one task during NEWIDLE balancing to limit critical section

git-id c4acb2c0669c5c5c9b28e9d02a34b5c67edf7092 attempted to limit
newidle critical section length by stopping after at least one task
was moved.  Further investigation has shown that there are other
paths nested further inside the algorithm which still remain that allow
long latencies to occur with newidle balancing.  This patch applies
the same technique inside balance_tasks() to limit the duration of
this optional balancing operation.

Signed-off-by: Gregory Haskins <ghaskins@novell.com>
CC: Nick Piggin <npiggin@suse.de>
kernel/sched.c
This page took 0.027927 seconds and 5 git commands to generate.