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

git: kernel - Fix bug in the emergency interrupt polling thread


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 24 Oct 2010 15:29:42 -0700 (PDT)

commit c24c20c0aa8d20a10ce07e5fdbbfefc165615a6e
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Sun Oct 24 15:27:14 2010 -0700

    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.

Summary of changes:
 sys/kern/kern_intr.c |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c24c20c0aa8d20a10ce07e5fdbbfefc165615a6e


-- 
DragonFly BSD source repository



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