aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorJosh Don <[email protected]>2020-04-10 15:52:08 -0700
committerPeter Zijlstra <[email protected]>2020-04-30 20:14:38 +0200
commitab93a4bc955b3980c699430bc0b633f0d8b607be (patch)
tree06c7c6724eb51685931e630d70f5e3663914d428 /lib/mpi/mpi-mod.c
parente98fa02c4f2ea4991dae422ac7e34d102d2f0599 (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 <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Reviewed-by: Phil Auld <[email protected]> Tested-by: Phil Auld <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions