[PATCH] fix TSC clocksource bug

Tim Gardner tcanonical at tpi.com
Mon Apr 7 13:58:21 UTC 2008


Dan Hecht wrote:
> Please apply this commit from 
> git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git to 
> the Ubuntu Hardy kernel tree:
> 
> commit 47001d603375f857a7fab0e9c095d964a1ea0039
> Author: Thomas Gleixner <tglx at linutronix.de>
> Date:   Tue Apr 1 19:45:18 2008 +0200
> 
>     x86: tsc prevent time going backwards
> 
> 
> The bug fixed by this patch has existed since the introduction of 
> clocksource into x86 kernels, and can cause timeofday to jump forward 
> along with kernel hangs.  The problems can be seen on native hardware, 
> but can probably occur a bit more frequent when running on a virtual 
> machine.
> 
> I've attached the same patch with the same change as above but rebased 
> to the Hardy 2.6.24 tree.
> 
> thanks,
> Dan
> 

applied. Thanks for the note.

-- 
Tim Gardner tim.gardner at ubuntu.com




More information about the kernel-team mailing list