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

Patrick Bellasi
2019-03-14T14:54:56Z

On 13-Mar 14:01, Suren Baghdasaryan wrote:
> On Wed, Mar 13, 2019 at 8:15 AM Patrick Bellasi <patrick.bellasi@arm.com> wrote:
> >
> > On 12-Mar 13:52, Dietmar Eggemann wrote:
> > > On 2/8/19 11:05 AM, Patrick Bellasi wrote:

[...]

> > > > +static inline unsigned int uclamp_bucket_value(unsigned int clamp_value)
> > > > +{
> > > > + return UCLAMP_BUCKET_DELTA * uclamp_bucket_id(clamp_value);
> > > > +}
> > >
> > > Soemthing like uclamp_bucket_nominal_value() should be clearer.
> >
> > Maybe... can update it in v8
> >
>
> uclamp_bucket_base_value is a little shorter, just to consider :)

Right, I also like it better ;)

--
#include <best/regards.h>

Patrick Bellasi