| Subject | Re: [patch 15/16] sched: return unused runtime on voluntary sleep | From | Peter Zijlstra <> | Date | Thu, 23 Jun 2011 17:26:18 +0200 |
| |
On Tue, 2011-06-21 at 00:17 -0700, Paul Turner wrote: > plain text document attachment (sched-bwc-simple_return_quota.patch) > When a local cfs_rq blocks we return the majority of its remaining quota to the > global bandwidth pool for use by other runqueues.
OK, I saw return_cfs_rq_runtime() do that.
> We do this only when the quota is current and there is more than > min_cfs_rq_quota [1ms by default] of runtime remaining on the rq.
sure..
> In the case where there are throttled runqueues and we have sufficient > bandwidth to meter out a slice, a second timer is kicked off to handle this > delivery, unthrottling where appropriate.
I'm having trouble there, what's the purpose of the timer, you could redistribute immediately. None of this is well explained.
|