interrupt question

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

 



Hi,

I have a simple interface that generates an interrupt but updates the
data register after approximately 70 ms.

My question is, would it be reasonable to sleep for a short while in
the bottom half of the handler before querying the data? My argument
is that since the BH is interruptable it wouldnt do harm if I slept?

Because I feel that 70ms is quite a while for idle-looping even in the
BH for this.


Thanks,
Bahadir

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux