On 8/2/05, Bill Davidsen <[EMAIL PROTECTED]> wrote: > Athul Acharya wrote: > > Hey folks, > > > > Is there a quick way to determine if the current processor is > > Hyperthreaded, and if so, which logical processor represents the other > > thread on the chip? Please cc replies to me as I am not subscribed to > > the list :-) > > Look at /proc/cpuinfo and see if "siblings" is listed and more than one. > There is no "other thread" there, it's like "which one is the other hand?"
Sorry, I should've been more specific -- I mean within the kernel. That is, I want to know whether the current cpu I (kernel code) am executing on is hyperthreaded, and if so, which logical cpu represents the other thread on chip. Athul - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/