lkml.org 
[lkml]   [2017]   [Aug]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] cpufreq: Don't send callback pointer to cpufreq_add_update_util_hook()
Date
On Thursday, August 17, 2017 2:04:48 PM CEST Viresh Kumar wrote:
> The callers already have the structure (struct update_util_data) where
> the function pointer is saved by cpufreq_add_update_util_hook(). And its
> better if the callers fill it themselves, as they can do it from the
> governor->init() callback then, which is called only once per policy
> lifetime rather than doing it from governor->start which can get called
> multiple times.

So what problem exactly is this addressing?

Thanks,
Rafael

\
 
 \ /
  Last update: 2017-08-17 17:47    [W:0.134 / U:0.756 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site