title: kthread & interupt -- handler --- is it possible
body: <p>Is it possible for Linux driver to have one kthread, interrupt handle &amp; system call's.
  Means does linux Kernel kernel allows all of above three ?</p>
  
  <p>Interrupt handler will save receive data from communication channel on interrupt.<br>
  Kthread will transmit data out of communication channel.<br>
  System call can be used to configure driver or get its status.</p>
  
  <p>Also if Interrupt handler &amp; kthread are using -- same hardware register -- then how can we protect this critical section ?</p>