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

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

From: Peter Zijlstra <peterz@infradead.org>
Date: 2019-03-14 13:32:18
Also in: linux-pm, lkml

On Thu, Mar 14, 2019 at 12:13:15PM +0000, Patrick Bellasi wrote:
quoted
I'd be most impressed if they pull this off. Check the generated code
and see I suppose :-)
On x86 the code generated looks exactly the same:

   https://godbolt.org/z/PjmA7k
Argh, they do mult by inverse to avoid the division, and can do this
because its a constant.

And then yes, your arm version looks worse.

It does what I expected with -Os, but as Rutland said the other day,
that stands for Optimize for Sadness.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help