[lkml]   [2019]   [Jun]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH V3 4/5] cpufreq: Register notifiers with the PM QoS framework
On Wed, Jun 19, 2019 at 8:39 AM Viresh Kumar <> wrote:
> On 19-06-19, 00:23, Rafael J. Wysocki wrote:
> > In patch [3/5] you could point notifiers for both min and max freq to the same
> > notifier head. Both of your notifiers end up calling cpufreq_update_policy()
> > anyway.
> I tried it and the changes in qos.c file look fine. But I don't like at all how
> cpufreq.c looks now. We only register for min-freq notifier now and that takes
> care of max as well. What could have been better is if we could have registered
> a freq-notifier instead of min/max, which isn't possible as well because of how
> qos framework works.
> Honestly, the cpufreq changes look hacky to me :(
> What do you say.

OK, leave it as is. That's not a big deal.

It is slightly awkward, but oh well.

 \ /
  Last update: 2019-06-19 11:17    [W:0.037 / U:7.368 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site