Re: [PATCH v8 01/16] sched/core: uclamp: Add CPU's clamp buckets refcounting

2019-04-08 Thread Patrick Bellasi
On 06-Apr 16:51, Suren Baghdasaryan wrote: > On Tue, Apr 2, 2019 at 3:42 AM Patrick Bellasi > wrote: [...] > > + * The first few values calculated by this routine: > > + * bf(0) = 1 > > + * bf(1) = 1 > > + * bf(2) = 2 > > + * bf(3) = 2 > > + * bf(4) = 3 > > + * ... and so on. > > + */ > >

Re: [PATCH v8 01/16] sched/core: uclamp: Add CPU's clamp buckets refcounting

2019-04-06 Thread Suren Baghdasaryan
On Tue, Apr 2, 2019 at 3:42 AM Patrick Bellasi wrote: > > Utilization clamping allows to clamp the CPU's utilization within a > [util_min, util_max] range, depending on the set of RUNNABLE tasks on > that CPU. Each task references two "clamp buckets" defining its minimum > and maximum

[PATCH v8 01/16] sched/core: uclamp: Add CPU's clamp buckets refcounting

2019-04-02 Thread Patrick Bellasi
Utilization clamping allows to clamp the CPU's utilization within a [util_min, util_max] range, depending on the set of RUNNABLE tasks on that CPU. Each task references two "clamp buckets" defining its minimum and maximum (util_{min,max}) utilization "clamp values". A CPU's clamp bucket is active