Re: [PATCH 6/6] don't compute pvclock adjustments if we trust the tsc

2010-04-27 Thread Glauber Costa
On Tue, Apr 27, 2010 at 09:03:55PM +0300, Avi Kivity wrote: > On 04/27/2010 04:40 PM, Marcelo Tosatti wrote: > >On Mon, Apr 26, 2010 at 01:46:28PM -0400, Glauber Costa wrote: > >>If the HV told us we can fully trust the TSC, skip any > >>correction > >> > >Please drop this. Its not certain what is

Re: [PATCH 6/6] don't compute pvclock adjustments if we trust the tsc

2010-04-27 Thread Avi Kivity
On 04/27/2010 04:40 PM, Marcelo Tosatti wrote: On Mon, Apr 26, 2010 at 01:46:28PM -0400, Glauber Costa wrote: If the HV told us we can fully trust the TSC, skip any correction Please drop this. Its not certain what is the best method to reduce contention on the global variable. Whate

Re: [PATCH 6/6] don't compute pvclock adjustments if we trust the tsc

2010-04-27 Thread Glauber Costa
On Tue, Apr 27, 2010 at 10:40:13AM -0300, Marcelo Tosatti wrote: > On Mon, Apr 26, 2010 at 01:46:28PM -0400, Glauber Costa wrote: > > If the HV told us we can fully trust the TSC, skip any > > correction > > > > Signed-off-by: Glauber Costa > > --- > > arch/x86/include/asm/kvm_para.h|5 +

Re: [PATCH 6/6] don't compute pvclock adjustments if we trust the tsc

2010-04-27 Thread Marcelo Tosatti
On Mon, Apr 26, 2010 at 01:46:28PM -0400, Glauber Costa wrote: > If the HV told us we can fully trust the TSC, skip any > correction > > Signed-off-by: Glauber Costa > --- > arch/x86/include/asm/kvm_para.h|5 + > arch/x86/include/asm/pvclock-abi.h |1 + > arch/x86/kernel/kvmclock

[PATCH 6/6] don't compute pvclock adjustments if we trust the tsc

2010-04-26 Thread Glauber Costa
If the HV told us we can fully trust the TSC, skip any correction Signed-off-by: Glauber Costa --- arch/x86/include/asm/kvm_para.h|5 + arch/x86/include/asm/pvclock-abi.h |1 + arch/x86/kernel/kvmclock.c |3 +++ arch/x86/kernel/pvclock.c |4 4 files