[PATCH RFC] pvclock: Make pv_clock more robust and fixup it if overflow happens

2012-02-13 Thread Igor Mammedov
Instead of hunting misterious stalls/hungs all over the kernel when overflow occurs at pvclock.c:pvclock_get_nsec_offset u64 delta = native_read_tsc() - shadow-tsc_timestamp; and introducing hooks when places of unexpected access found, pv_clock should be initialized for the calling cpu if

Re: [PATCH RFC] pvclock: Make pv_clock more robust and fixup it if overflow happens

2012-02-13 Thread Marcelo Tosatti
On Mon, Feb 13, 2012 at 04:45:59PM +0100, Igor Mammedov wrote: Instead of hunting misterious stalls/hungs all over the kernel when overflow occurs at pvclock.c:pvclock_get_nsec_offset u64 delta = native_read_tsc() - shadow-tsc_timestamp; and introducing hooks when places of unexpected

Re: [PATCH RFC] pvclock: Make pv_clock more robust and fixup it if overflow happens

2012-02-13 Thread Igor Mammedov
On 02/13/2012 06:48 PM, Marcelo Tosatti wrote: On Mon, Feb 13, 2012 at 04:45:59PM +0100, Igor Mammedov wrote: Instead of hunting misterious stalls/hungs all over the kernel when overflow occurs at pvclock.c:pvclock_get_nsec_offset u64 delta = native_read_tsc() - shadow-tsc_timestamp; and