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

From: Peter Zijlstra
Date: Tue Jun 28 2011 - 05:16:41 EST


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 :-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/