lkml.org 
[lkml]   [2005]   [Aug]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Determining if the current processor is Hyperthreaded
On 8/2/05, Athul Acharya <aacharya@gmail.com> wrote:
> 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.

Trying again, as it seems like a simple thing that really should exist
-- is_cpu_hyperthreaded(smp_processor_id()) -- or something similar.
Anyone?

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

\
 
 \ /
  Last update: 2005-08-05 15:49    [W:0.643 / U:0.932 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site