From: Andi Kleen Date: Wed, 2 May 2007 17:27:21 +0000 (+0200) Subject: [PATCH] x86: Use RDTSCP for synchronous get_cycles if possible X-Git-Tag: v2.6.22-rc1~1011^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5bcb5635a03da3158f121ae20ccbbf72b4fc62a;p=pandora-kernel.git [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" Signed-off-by: Andi Kleen --- Reading git-diff-tree failed