Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 7e96fa58 authored by Gregory Haskins's avatar Gregory Haskins
Browse files

sched: pull only one task during NEWIDLE balancing to limit critical section



git-id c4acb2c0 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: default avatarGregory Haskins <ghaskins@novell.com>
CC: Nick Piggin <npiggin@suse.de>
parent 777c2f38
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment