DragonFly BSD
DragonFly commits List (threaded) for 2011-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: kernel - add lwkt_set_interrupt_support_thread() API


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 28 Oct 2011 09:48:14 -0700 (PDT)

commit e6546af9e0ddd006849722f5ea6b457fdf1771f5
Author: Matthew Dillon <dillon@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]