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

S.Çağlar Onur caglar at pardus.org.tr
Sun Jul 1 10:27:41 PDT 2007


Hi;

01 Tem 2007 Paz tarihinde, Danny Kukawka şunları yazmıştı: 
> On Sonntag, 1. Juli 2007, S.Çağlar Onur wrote:
> > By the way i cannot find any way to detect if machine has SMT or MC one,
> > if i'm not wrong kernel not exports this information to userspace,
> > anybody has any suggestion/idea?
>
> Untested, but you could try to include <asm/topology.h> and use the
> smt_capable() and mc_capable() under linux. 

I also saw that but "make headers_install" didn't provide this for userspace 
usage (im on Linus's current git)

> Btw. IMO this should get 
> exposed by the kernel to sysfs. (I'm can may take a look at this issue, but
> currently to busy).

Hmm, if i can i'll try to export this into sysfs and will sent to LKML :)

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: 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/a0528249/attachment.pgp 


More information about the hal mailing list