Thread (82 messages) 82 messages, 7 authors, 2018-08-20

Re: [PATCH v3 05/14] sched/cpufreq: uclamp: add utilization clamping for FAIR tasks

From: Patrick Bellasi <hidden>
Date: 2018-08-09 15:31:13
Also in: lkml

On 08-Aug 15:18, Vincent Guittot wrote:
Hi Patrick,
Hi VIncent,
On Mon, 6 Aug 2018 at 18:40, Patrick Bellasi [off-list ref] wrote:
[...]
quoted
+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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help