lkml.org 
[lkml]   [2007]   [Sep]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: 2.6.23-rc3-mm1 - vdso and gettimeofday issues with glibc
    From
    Date
    On Sun, 09 Sep 2007 09:27:06 +0200, Andi Kleen said:
    > > Updating on this issue: Both myself and another person have reported on
    > > the RedHat bugzilla that it's a clocksource issue - if you are using the
    > > hpet clocksource, the time warps, but booting with clocksource=acpi_pm works.
    > >
    > > This ring any bells?
    >
    > Does this patch fix it?
    > -Andi
    >
    > Add missing mask operation to vdso
    >
    > vdso vgetns() didn't mask the time source offset calculation, which could
    > lead to time problems with 32bit HPET. Add the masking.
    >
    > Thanks to Chuck Ebbert for tracking down.
    >
    > Signed-off-by: Andi Kleen <ak@suse.de>

    Confirming that does indeed fix it - booted with hpet clocksource and vdso=1,
    and the time didn't warp at the 5-minute mark.

    Tested-By: Valdis Kletnieks <valdis.kletnieks@vt.edu>
    [unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2007-09-10 21:11    [W:4.184 / U:0.280 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site