git: kernel - add lwkt_set_interrupt_support_thread() API
Matthew Dillon
dillon at crater.dragonflybsd.org
Fri Oct 28 09:48:57 PDT 2011
commit e6546af9e0ddd006849722f5ea6b457fdf1771f5
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Fri Oct 28 09:27:20 2011 -0700
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.
Summary of changes:
sys/dev/disk/ahci/ahci_dragonfly.c | 6 ++++++
sys/kern/lwkt_thread.c | 22 ++++++++++++++++------
sys/sys/thread.h | 1 +
3 files changed, 23 insertions(+), 6 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e6546af9e0ddd006849722f5ea6b457fdf1771f5
--
DragonFly BSD source repository
More information about the Commits
mailing list