Re: [BUG] jiffies counter leaps in 2.6.24-rc3
From: Stefano Brivio
Date: Thu Nov 29 2007 - 13:05:59 EST
On Thu, 29 Nov 2007 12:45:48 -0500
Dave Jones <davej@xxxxxxxxxx> wrote:
> Hmm, what's
> in /sys/devices/system/clocksource/clocksource0/current_clocksource ?
morte st3 # cat /sys/devices/system/clocksource/clocksource0/current_clocksource
acpi_pm
> 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.
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?
--
Ciao
Stefano
-
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/