Skip to contentSkip to conversation

kernel/cpufreq.c, drivers/cpufreq/ or kernel/power/cpufreq/ ?

DISCUSSION Dominik Brodowski 3 participants 3 messages Aug 21, 2003

lore
Share & tools
lore
#0 lore raw

Right now cross-architecture cpufreq files are in
drivers/cpufreq/ and the cpufreq core is in
kernel/cpufreq.c

IMHO these files should move to one destination, and I'd favour drivers/cpufreq/ for that. Or is kernel/power/cpufreq/ a better location for that?

Dominik

#1 lore raw
Quoted 7 lines · Dominik Brodowski

Right now cross-architecture cpufreq files are in
drivers/cpufreq/ and the cpufreq core is in
kernel/cpufreq.c

IMHO these files should move to one destination, and I'd favour drivers/cpufreq/ for that. Or is kernel/power/cpufreq/ a better location for that?

I can't tell for sure (and Pat have certainly more knowledge than me), but kernel/power is more appropriate for system power management, not for processor power management.

Signature · 4 lines
Ducrot Bruno

--  Which is worse:  ignorance or apathy?
--  Don't know.  Don't care.
#2 lore raw
In reply to Dominik Brodowski
Quoted 8 lines

Right now cross-architecture cpufreq files are in
drivers/cpufreq/ and the cpufreq core is in
kernel/cpufreq.c

IMHO these files should move to one destination, and I'd favour drivers/cpufreq/ for that. Or is kernel/power/cpufreq/ a better location for that?

I think drivers/cpufreq/ is best.

Pat