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

From: Dave Jones
Date: Thu Nov 29 2007 - 13:25:25 EST


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

--
http://www.codemonkey.org.uk
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/