Skip to content

Fix interactivity buglet with autogroup and shares distribution re-write

Paul Turner lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2sched: move periodic share updates to entity_tick()kernel/sched_fair.c+24 -55 replies
2/2sched: charge unaccounted run-time on entity re-weightkernel/sched_fair.c+5 -17 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [patch 0/2] Fix interactivity buglet with autogroup and shares distribution re-write

This should address the interactivity issues reported by Mike Galbraith:
https://lkml.org/lkml/2010/11/28/47

The root cause turns out to be a mis-ordering of weight updates and accounting outstanding execution time.

This is fixed by making update_curr() 'atomic' once more with respect to accounting, this allows us to then make sure any outstanding time is charged in the re-weight path (prior to the actual update).

Thank-you to everyone for their patience while we tracked this down,

- Paul