Re: [RFC][PATCH v2 2/2] cpufreq: schedutil: Avoid decreasing frequency of busy CPUs

From: Peter Zijlstra
Date: Tue Mar 21 2017 - 11:18:55 EST



Seriously people, trim your replies.

On Tue, Mar 21, 2017 at 03:08:20PM +0000, Patrick Bellasi wrote:

> And than we can move this bit into an inline function, something like e.g.:
>
> static inline bool sugov_this_cpu_is_busy()
> {
> return this_rq()->rd->overloaded
> }

No, that's just entirely and utterly wrong. It being in rd means its
very much not about _this_ CPU in any way.