kernel - Fix bug in the emergency interrupt polling thread
commit9e067ab24bb56831da08df8c098e3404ec3c8172
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 24 Oct 2010 22:27:14 +0000 (24 15:27 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 24 Oct 2010 22:29:57 +0000 (24 15:29 -0700)
treea52922ed8d019d2fed8245e22ac60343625c957d
parent067fe8ead876447e18d5af9d4445b58eb369afde
kernel - Fix bug in the emergency interrupt polling thread

* This thread is only active when kern.emergency_intr_enable is non-zero

* Get the next intr handler before processing the current one, since the
  act of processing the current handler may remove it.

* In the emergency interrupt polling thread do not stall if we cannot get
  the serializer for the interrupt.  just skip the handler and we'll try
  again next time.
sys/kern/kern_intr.c