On Thu, Aug 19, 2010 at 10:07:25PM -1000, Zachary Amsden wrote: > Add a helper function to compute the kernel time and convert nanoseconds > back to CPU specific cycles. Note that these must not be called in > preemptible > context, as that would mean the kernel could enter software suspend state, > which would cause non-atomic operation. > > Also, convert the KVM_SET_CLOCK / KVM_GET_CLOCK ioctls to use the kernel > time helper, these should be bootbased as well. This is one of the things I believe should be applied right now. Maybe we want a cut version of this patch, that exposes this API while adjusting KVM_SET_CLOCK / KVM_GET_CLOCK to get in early rather than late? -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
- Re: [KVM timekeeping 01/35] Drop vm_init_tsc Glauber Costa
- [KVM timekeeping 05/35] Move TSC reset out of vmcb_init Zachary Amsden
- Re: [KVM timekeeping 05/35] Move TSC reset out of vmc... Glauber Costa
- Re: [KVM timekeeping 05/35] Move TSC reset out of... Zachary Amsden
- [KVM timekeeping 06/35] TSC reset compensation Zachary Amsden
- [KVM timekeeping 12/35] Robust TSC compensation Zachary Amsden
- Re: [KVM timekeeping 12/35] Robust TSC compensation Glauber Costa
- Re: [KVM timekeeping 12/35] Robust TSC compensati... Zachary Amsden
- Re: [KVM timekeeping 12/35] Robust TSC compensation Daniel Verkamp
- [KVM timekeeping 11/35] Add helper functions for time comp... Zachary Amsden
- Re: [KVM timekeeping 11/35] Add helper functions for ... Glauber Costa
- Re: [KVM timekeeping 11/35] Add helper functions ... Zachary Amsden
- [KVM timekeeping 21/35] Track max tsc_khz Zachary Amsden
- [KVM timekeeping 20/35] Make math work for other scales Zachary Amsden
- [KVM timekeeping 26/35] Catchup slower TSC to guest rate Zachary Amsden
- RE: [KVM timekeeping 26/35] Catchup slower TSC to gue... Dong, Eddie
- Re: [KVM timekeeping 26/35] Catchup slower TSC to... Zachary Amsden
- [KVM timekeeping 25/35] Add clock catchup mode Zachary Amsden
- Re: [KVM timekeeping 25/35] Add clock catchup mode Marcelo Tosatti
- Re: [KVM timekeeping 25/35] Add clock catchup mod... Zachary Amsden
- Re: [KVM timekeeping 25/35] Add clock catchup... Marcelo Tosatti
