Andi Kleen c5bcb5635a [PATCH] x86: Use RDTSCP for synchronous get_cycles if possible
RDTSCP is already synchronous and doesn't need an explicit CPUID.
This is a little faster and more importantly avoids VMEXITs on Hypervisors.

Original patch from Joerg Roedel, but reworked by AK
Also includes miscompilation fix by Eric Biederman

Cc: "Joerg Roedel" <joerg.roedel@amd.com>

Signed-off-by: Andi Kleen <ak@suse.de>
2007-05-02 19:27:21 +02:00
..
2007-03-05 07:57:52 -08:00
2007-05-02 19:27:15 +02:00
2007-04-25 22:23:33 -07:00
2007-02-16 08:13:59 -08:00
2007-03-05 07:57:50 -08:00
2007-02-16 08:13:59 -08:00
2007-05-02 19:27:20 +02:00
2007-05-02 19:27:16 +02:00
2007-05-02 19:27:19 +02:00
2007-05-02 19:27:16 +02:00
2007-02-13 13:26:21 +01:00
2007-05-02 19:27:16 +02:00
2007-03-27 09:05:15 -07:00
2007-03-05 07:57:52 -08:00
2007-03-05 07:57:51 -08:00
2006-12-15 08:47:51 -08:00
2007-03-05 07:57:52 -08:00