[PATCH 3/3] optimize get_cycles_sync for Linux as KVM guest

2007-02-19 Thread Joerg Roedel
From: Joerg Roedel <[EMAIL PROTECTED]> This patch modifies the get_cycles_sync() function on i386 and x86_64 to use the RDTSCP (if it is available) instruction to synchronize with the CPU core and not CPUID. This is especially usefull when running Linux as a KVM guest because CPUID is intercepted

[PATCH 3/3] optimize get_cycles_sync for Linux as KVM guest

2007-02-19 Thread Joerg Roedel
From: Joerg Roedel [EMAIL PROTECTED] This patch modifies the get_cycles_sync() function on i386 and x86_64 to use the RDTSCP (if it is available) instruction to synchronize with the CPU core and not CPUID. This is especially usefull when running Linux as a KVM guest because CPUID is intercepted