Re: [BUG] jiffies counter leaps in 2.6.24-rc3

Dave Jones
2007-11-29T18:25:23Z

On Thu, Nov 29, 2007 at 06:57:43PM +0100, Stefano Brivio wrote:

> > adjust_jiffies() always gets called on a speed transition. I'm wondering
> > if perhaps we shouldn't do that if we're using something other than
> > the tsc for timekeeping.
>
> I gave other clocksources a try:
>
> morte st3 # cat /sys/devices/system/clocksource/clocksource0/available_clocksource
> acpi_pm pit jiffies tsc
>
> Setting tsc as current clocksource:
> morte st3 # echo tsc > /sys/devices/system/clocksource/clocksource0/current_clocksource
> [13367.729060] Time: tsc clocksource has been installed.
> didn't fix anything. Other weirdness here: it looks like it affects my
> typematic delay and repeat rate.

*grumble*

> Setting jiffies or pit as current clocksource didn't fix anything, but at
> least it doesn't cause anything bad.
>
> Do you want me to comment out adjust_jiffies() and see what happens?

Just for laughs, why not.

Dave

--