Re: [rfc][patch] API for timer hooks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



john stultz wrote:
Interesting. Could you explain why the soft-timer interface doesn't<>
I'll try to explain why *I think*
it doesn't suffice, please correct
me if my assumptions are wrong.

There are two (bad) things about the
PC-Speaker driver:
1. It needs the higher interrupt frequency.
Since there seem to be no API to change
the timer frequency at runtime, the driver
does this itself. Now I have googled out
the thread
[PATCH] i386: Selectable Frequency of the Timer Interrupt
but it doesn't look like it ended up
with some patch applied, or where is it?
2. It needs its handler to be executed
first in the chain. Otherwise the quality
is poor because of the latency.

My approach solves both problems by
introducing the grabbing ability.
This is a rather simple patch, and since
it allows to do some cleanup, I though
it could be usefull not only for the
speaker driver.
But if you can tell me how to achieve
at least the point 1 (that is, speed up the
timer at run-time quite arbitrary) without
the kernel mods, then it would be a real

Any hints/pointers are appreciated.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at
Please read the FAQ at

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux