[Lguest] [PATCH 13/25] [PATCH] turn msr.h functions into native versions

Andi Kleen ak at suse.de
Wed Aug 8 19:25:37 EST 2007


On Wednesday 08 August 2007 06:19, Glauber de Oliveira Costa wrote:

> +static __always_inline long long vget_cycles_sync(void)

Why is there a copy of this function now? That seems wrong

> +		native_read_tscp(&p);

The instruction is called rdtscp not read_tscp. Please follow that


> +#define rdtsc(low, high)			\

This macro can be probably eliminated, no callers in kernel


-Andi



More information about the Lguest mailing list