[PATCH] sched: mc/smt power savings sched policy
Danny Kukawka
danny.kukawka at web.de
Sun Jul 1 09:54:46 PDT 2007
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. 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).
Danny
More information about the hal
mailing list