kernel - add lwkt_set_interrupt_support_thread() API
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 28 Oct 2011 16:27:20 +0000 (09:27 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 28 Oct 2011 16:27:20 +0000 (09:27 -0700)
commite6546af9e0ddd006849722f5ea6b457fdf1771f5
tree1de5364a7237cf8c2acb87d47b3b283222f8d741
parent1da8d52f09e87a41c222998c31100737cca77dd1
kernel - add lwkt_set_interrupt_support_thread() API

* Add a new API that may be used by a device driver's support thread
  to run the thread at a higher (near interrupt) priority and allow
  it to preempt normal threads.

* Adjust the AHCI driver's helper threads to use the new API.
sys/dev/disk/ahci/ahci_dragonfly.c
sys/kern/lwkt_thread.c
sys/sys/thread.h