diff options
| author | Andrew Morton <akpm@digeo.com> | 2003-02-03 17:01:18 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2003-02-03 17:01:18 -0800 |
| commit | 6322309166320ff2dd356d4f39f1085a7baef8ea (patch) | |
| tree | c408a18aa1f0d2150a5edc63608cc3cd35d33292 /include/linux/notifier.h | |
| parent | 369a0c851482e058964946b2461e2ce2a9a25ec6 (diff) | |
[PATCH] ia32 Lost tick compensation
Patch from john stultz <johnstul@us.ibm.com>
Adds some lost-tick compensation code, which handles the case where time
accounting goes wrong due to interrupts being disabled for longer than two
ticks.
This patch solves the problem by checking when an interrupt occurs if
timer->get_offset() is a value greater then 2 ticks. If so, it increments
jiffies appropriately.
I was concerned that we'd be better off finding and fixing the misbehaving
drivers, but it turns out that the main culprits are system management cards
over which the kernel has no control.
However John has added some debug code which will drop a backtrace on the
first five occurrences which will allow us to find-and-fix bad drivers if
overruns _are_ due to Linux software. (I disabled this - it was irritating
me. Dave Hansen has a patch which allows it to be turned on via a kernel
boot parameter, like the x86_64 equiv).
Diffstat (limited to 'include/linux/notifier.h')
0 files changed, 0 insertions, 0 deletions
