kernel - Fix bug in the emergency interrupt polling thread
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 24 Oct 2010 22:27:14 +0000 (15:27 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 24 Oct 2010 22:27:14 +0000 (15:27 -0700)
commitc24c20c0aa8d20a10ce07e5fdbbfefc165615a6e
tree88b26676df3e48baa039fb9b3163d8073e83613f
parent8a2c01d5e27a224f58426e712f256babadb5c3ab
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