Re: Programtically tell diff between HT and real

From: Robert Love
Date: Wed Jun 16 2004 - 12:58:01 EST


On Wed, 2004-06-16 at 10:46 -0700, Phy Prabab wrote:

> Is there a way to tell the difference between normal
> processors and HT enabled processors? That is, does
> the linux kernel know the difference and is there a
> way to to know the difference.

Yah. Look at /proc/cpuinfo.

Virtual processors have different 'processor' values but the same
'physical id', while physical processors obviously have different values
for both.

Robert Love


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/