Skip to content
Commit 554cecaf authored by Diwakar Tundlam's avatar Diwakar Tundlam Committed by Ingo Molnar
Browse files

sched/nohz: Correctly initialize 'next_balance' in 'nohz' idle balancer



The 'next_balance' field of 'nohz' idle balancer must be initialized
to jiffies. Since jiffies is initialized to negative 300 seconds the
'nohz' idle balancer does not run for the first 300s (5mins) after
bootup. If no new processes are spawed or no idle cycles happen, the
load on the cpus will remain unbalanced for that duration.

Signed-off-by: default avatarDiwakar Tundlam <dtundlam@nvidia.com>
Signed-off-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1DD7BFEDD3147247B1355BEFEFE4665237994F30EF@HQMAIL04.nvidia.com


Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 5fbd036b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment