All of lore.kernel.org
 help / color / mirror / Atom feed
* vread in kvm_clock
@ 2010-12-15 20:16 Julien Desfossez
  2010-12-17 17:43 ` Zachary Amsden
  0 siblings, 1 reply; 6+ messages in thread
From: Julien Desfossez @ 2010-12-15 20:16 UTC (permalink / raw)
  To: kvm

Hi,

I'm currently working with the kvm clocksource and I'm wondering if we 
could implement the vread function for this clock source when we are 
running on a host with constant_tsc.
If I understand correctly the hv_clock structure is per_cpu because of 
the eventual frequency changes, but in the case of constant_tsc (and 
after validation that the TSC is synchronized across all the cores) I 
think we could have a working vread function.

In case of migration, could we have a fallback in case we detect we end 
up on a CPU without constant_tsc ?

Any advice/explanation would be greatly appreciated !

Thanks,

Julien

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-12-20 20:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-15 20:16 vread in kvm_clock Julien Desfossez
2010-12-17 17:43 ` Zachary Amsden
2010-12-19 15:27   ` Avi Kivity
2010-12-20  1:15     ` Zachary Amsden
2010-12-20  6:16       ` Avi Kivity
2010-12-20 20:48         ` Zachary Amsden

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.