Thread (155 messages) 155 messages, 12 authors, 2016-03-18

Re: [PATCH v2 6/10] cpufreq: Support for fast frequency switching

From: Ingo Molnar <mingo@kernel.org>
Date: 2016-03-05 11:58:53
Also in: linux-acpi, lkml

* Rafael J. Wysocki [off-list ref] wrote:
quoted
Honestly I wonder if it's better to just try the "no notifiers with fast 
drivers" approach to start. The notifiers could always be added if platform 
owners complain that they absolutely require them.
Well, I'm not sure what happens if we start to fail notifier registrations.  It 
may not be a well tested error code path. :-)
Yeah, so as a general principle 'struct notifier_block' as a really bad interface 
with poor and fragile semantics, and we are trying to get rid of them everywhere 
from core kernel code. For example Thomas Gleixner et al is working on eliminating 
them from the CPU hotplug code - which will get rid of most remaining notifier 
uses from the scheduler as well.

So please add explicit cpufreq driver callback functions instead, which can be 
filled in by a platform if needed. No notifiers!

Thanks,

	Ingo
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help