login
Header Space

 
 

Re: [PATCH 1/3] Add prctl commands PR_GET_TSC and PR_SET_TSC

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: H. Peter Anvin <hpa@...>
Cc: Erik Bosman <ejbosman@...>, Andrew Morton <akpm@...>, Thomas Gleixner <tglx@...>, Ingo Molnar <mingo@...>, Arjan van de Ven <arjan@...>, Andrea Arcangeli <andrea@...>, Linus Torvalds <torvalds@...>, <linux-kernel@...>
Date: Sunday, April 13, 2008 - 4:50 pm

>

I'm a little sceptical it will work reliably, but we'll see.

There's also LSL (forgot that earlier). It is used by the vgetcpu()
because it's faster than CPUID or RDTSCP. Kernel
sets a magic segment up which has different limits for different CPUs.

-Andi

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 1/3] Add prctl commands PR_GET_TSC and PR_SET_TSC, Andi Kleen, (Sun Apr 13, 4:50 pm)
speck-geostationary