On Tue, Nov 20, 2007 at 12:51:45AM +0100, Michiel Overtoom wrote: >second. If would be nice if it gets called at the kern.clockrate. I have no >clear idea how to proceed, I suspect I have to install a pointer to my >conversion function into some list of functions which get called each clock >tick, but I don't know where, or how. Any tips would be very welcome.
I presume that the exact rate is not critical. My suggestion would be to create a kernel thread (see kthread(9)) that uses a callout (see timeout(9)) to wake it every tick. -- Peter Jeremy Please excuse any delays as the result of my ISP's inability to implement an MTA that is either RFC2821-compliant or matches their claimed behaviour.
pgpCKzPaEIpHz.pgp
Description: PGP signature