[PATCH] sched: mc/smt power savings sched policy

Danny Kukawka danny.kukawka at web.de
Sun Jul 1 01:48:28 PDT 2007


On Montag, 11. Juni 2007, S.Çağlar Onur wrote:
> Following patch tries to add GetSchedPowerSavings/SetSchedPowerSavings
> methods to cpufreq-addon.

Could we change the paramter for SetSchedPowerSavings() and the return value 
of GetSchedPowerSavings() from Integer to Boolean? As far as I can see in the 
kernel code only 0/1 is allowed for the related sysfs files as values, IMO it 
would be easier to use simply boolean, which would reduce invalid calls.

Danny


More information about the hal mailing list