Re: [PATCH v2] sched/fair: don't assign runtime for throttled cfs_rq

2019-08-26 Thread Peter Zijlstra
On Sat, Aug 24, 2019 at 05:15:58PM +0800, Liangyan wrote: > do_sched_cfs_period_timer() will refill cfs_b runtime and call > distribute_cfs_runtime() to unthrottle cfs_rq, sometimes cfs_b->runtime > will allocate all quota to one cfs_rq incorrectly. > This will cause other cfs_rq can't get runtime

[PATCH v2] sched/fair: don't assign runtime for throttled cfs_rq

2019-08-24 Thread Liangyan
do_sched_cfs_period_timer() will refill cfs_b runtime and call distribute_cfs_runtime() to unthrottle cfs_rq, sometimes cfs_b->runtime will allocate all quota to one cfs_rq incorrectly. This will cause other cfs_rq can't get runtime and will be throttled. We find that one throttled cfs_rq has