On 08-Aug 15:18, Vincent Guittot wrote: > Hi Patrick, Hi VIncent,
> On Mon, 6 Aug 2018 at 18:40, Patrick Bellasi <[email protected]> wrote: [...] > > +static inline unsigned int uclamp_util(unsigned int cpu, unsigned int util) > > using struct *rq rq instead of cpu as parameter would align > uclamp_util() interface with other cpu_util_*() interface and remove > some cpu_of(rq) and cpu_rq(cpu) Right, I've tired to keep consistency within the "uclamp_*" APIs... but what you suggests makes also sense and I've also already switched some other APIs to use *rq. I'll look into better aligning these APIs for the next posting. Cheers Patrick -- #include <best/regards.h> Patrick Bellasi

