Messages in this thread | | | Date | Sun, 14 Aug 2011 12:01:24 -0500 | From | Jonathan Nieder <> | Subject | Re: [BUG?] Moving drivers to drivers/cpufreq/ causes all to be loaded |
| |
(-cc: ARM/etc people; +cc: Kay)
Dave Jones wrote:
> If we have to move stuff again, we could do drivers/cpufreq/x86/ etc..
Unfortunately the old script used "find", not "ls", so that wouldn't work. :/
> What we used to do in Fedora grew more and more complex over time. > Here's the last incarnation: http://fpaste.org/uvDb/
The main difference from Debian seems to be that this script loads the module corresponding to the chosen governor, while Debian's init script loads all governor modules early (using a heuristic I would like to avoid that involves running "find" to list them) and chooses the governor to use later.
> In an ideal world, we'd auto-load the right module on a hotplug event > from a cpu, but we're not there yet. I believe Kay is working on that.
Yes, that is what I was hoping for. Are there patches to test?
The comment at http://thread.gmane.org/gmane.linux.kernel/796450/focus=796874 also looks promising.
Thanks much for the help, Jonathan
| |