[lkml]   [2005]   [Sep]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 1/3] Updated dynamic tick patches - Fix lost tick calculation in timer_pm.c

    > > With this patch, time had kept up really well on one particular
    > > machine (Intel 4way Pentium 3 box) overnight, while
    > > on another newer machine (Intel 4way Xeon with HT) it didnt do so
    > > well (time sped up after 3 or 4 hours). Hence I consider this
    > > particular patch will need more review/work.
    > >
    > Are lost ticks really that common? If so, any idea what's disabling
    > interrupts for so long (or if it's a hardware issue)? And if not, it
    > seems like you'd need an artificial way to simulate lost ticks in order
    > to test this stuff.

    Try running this from userspace (and watch for time going completely
    crazy). Try it in mainline, too; it broke even vanilla some time
    ago. Need to run as root.


    int i;
    while (1) {
    asm volatile("cli");
    // for (i=0; i<20000000; i++)
    for (i=0; i<1000000000; i++)
    asm volatile("");
    asm volatile("sti");

    if you have sharp zaurus hardware you don't need... you know my address
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-09-06 12:37    [W:0.019 / U:32.696 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site