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

S.Çağlar Onur caglar at pardus.org.tr
Sun Jul 1 07:16:40 PDT 2007


Hi;

01 Tem 2007 Paz tarihinde, Danny Kukawka şunları yazmıştı: 
> 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.

You are right and boolean will fit better as you described, please see the 
attachment, but i'm still waiting for David's response to try to continue or 
forget that one :)

Cheers
-- 
S.Çağlar Onur <caglar at pardus.org.tr>
http://cekirdek.pardus.org.tr/~caglar/

Linux is like living in a teepee. No Windows, no Gates and an Apache in house!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SchedPowerSavings.patch
Type: text/x-diff
Size: 5907 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20070701/3b57e573/attachment-0001.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freedesktop.org/archives/hal/attachments/20070701/3b57e573/attachment-0001.pgp 


More information about the hal mailing list