Re: [patch 09/16] sched: unthrottle cfs_rq(s) who ran out of quota at period refresh

Peter Zijlstra
2011-06-28T09:13:34Z

On Mon, 2011-06-27 at 21:40 -0700, Paul Turner wrote:
> >> + if (unlikely(runtime_expires != cfs_b->runtime_expires))
> >> + goto out_unlock;
> >
> > it might help to explain how, runtime_expires is taken from cfs_b after
> > calling __refill_cfs_bandwidth_runtime, and we're in the replenishment
> > timer, so nobody is going to be adding new runtime.
> >
>
> Good idea -- thanks

Aside from being a good idea, I'm genuinely puzzled by that part and
would love having it explained :-)