aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorVincent Guittot <[email protected]>2011-12-12 20:21:08 +0100
committerIngo Molnar <[email protected]>2012-01-27 13:28:49 +0100
commit4ec4412e1e91f44a3dcb97b6c9172a13fc78bac9 (patch)
treea98f635907975c2f14c01c24418e102337250b8d /net/lapb/lapb_timer.c
parent39be350127ec60a078edffe5b4915dafba4ba514 (diff)
sched: Ensure cpu_power periodic update
With a lot of small tasks, the softirq sched is nearly never called when no_hz is enabled. In this case load_balance() is mainly called with the newly_idle mode which doesn't update the cpu_power. Add a next_update field which ensure a maximum update period when there is short activity. Having stale cpu_power information can skew the load-balancing decisions, this is cured by the guaranteed update. Signed-off-by: Vincent Guittot <[email protected]> Signed-off-by: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions