aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorYong Zhang <[email protected]>2011-01-24 15:33:52 +0800
committerIngo Molnar <[email protected]>2011-01-24 11:47:50 +0100
commit3ff6dcac735704824c1dff64dc6863c390d364cc (patch)
tree6ccbdd6f80da38f104199538f06f1bf2a5cb235e /net/lapb/lapb_iface.c
parent1bae4ce27c9c90344f23c65ea6966c50ffeae2f5 (diff)
sched: Fix poor interactivity on UP systems due to group scheduler nice tune bug
Michael Witten and Christian Kujau reported that the autogroup scheduling feature hurts interactivity on their UP systems. It turns out that this is an older bug in the group scheduling code, and the wider appeal provided by the autogroup feature exposed it more prominently. When on UP with FAIR_GROUP_SCHED enabled, tune shares only affect tg->shares, but is not reflected in tg->se->load. The reason is that update_cfs_shares() does nothing on UP. So introduce update_cfs_shares() for UP && FAIR_GROUP_SCHED. This issue was found when enable autogroup scheduling was enabled, but it is an older bug that also exists on cgroup.cpu on UP. Reported-and-Tested-by: Michael Witten <[email protected]> Reported-and-Tested-by: Christian Kujau <[email protected]> Signed-off-by: Yong Zhang <[email protected]> Acked-by: Pekka Enberg <[email protected]> Acked-by: Mike Galbraith <[email protected]> Acked-by: Peter Zijlstra <[email protected]> Cc: Linus Torvalds <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions