diff options
author | Josh Don <joshdon@google.com> | 2020-04-10 15:52:08 -0700 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2020-04-30 20:14:38 +0200 |
commit | ab93a4bc955b3980c699430bc0b633f0d8b607be (patch) | |
tree | 06c7c6724eb51685931e630d70f5e3663914d428 /kernel/sys.c | |
parent | e98fa02c4f2ea4991dae422ac7e34d102d2f0599 (diff) |
sched/fair: Remove distribute_running from CFS bandwidth
This is mostly a revert of commit:
baa9be4ffb55 ("sched/fair: Fix throttle_list starvation with low CFS quota")
The primary use of distribute_running was to determine whether to add
throttled entities to the head or the tail of the throttled list. Now
that we always add to the tail, we can remove this field.
The other use of distribute_running is in the slack_timer, so that we
don't start a distribution while one is already running. However, even
in the event that this race occurs, it is fine to have two distributions
running (especially now that distribute grabs the cfs_b->lock to
determine remaining quota before assigning).
Signed-off-by: Josh Don <joshdon@google.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Phil Auld <pauld@redhat.com>
Tested-by: Phil Auld <pauld@redhat.com>
Link: https://lkml.kernel.org/r/20200410225208.109717-3-joshdon@google.com
Diffstat (limited to 'kernel/sys.c')
0 files changed, 0 insertions, 0 deletions