Thread (84 messages) 84 messages, 6 authors, 2019-03-19

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

From: Patrick Bellasi <hidden>
Date: 2019-03-14 14:55:04
Also in: linux-pm, lkml

On 13-Mar 14:01, Suren Baghdasaryan wrote:
On Wed, Mar 13, 2019 at 8:15 AM Patrick Bellasi [off-list ref] wrote:
quoted
On 12-Mar 13:52, Dietmar Eggemann wrote:
quoted
On 2/8/19 11:05 AM, Patrick Bellasi wrote:
[...]
quoted
quoted
quoted
+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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help