Messages in this thread | | | From | "Rafael J. Wysocki" <> | Subject | Re: [PATCH] cpufreq: Don't send callback pointer to cpufreq_add_update_util_hook() | Date | Thu, 17 Aug 2017 17:31:38 +0200 |
| |
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
| |