Tugger the SLUGger!SLUG Mailing List Archives

[SLUG] Need help-on kernel threads

I am working on kernel threads the distribution is Montavista 3 (linux 2.4
kernel).My problem
i wake up the kernel thread  inside an interrupt. But the thread doesnot
all the time as soon as i wake it up.
what could be done so  that the thread wakes up as soon as it is woken from
the interrupt.
the interrupt arrives every 8msec.
the thread on waking reads 64 bytes from a file and writes it to pheripheral
chip(fpga).and goes to sleep.
  plz reply ASAP.