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

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Oct 24 15:31:10 PDT 2010


commit c24c20c0aa8d20a10ce07e5fdbbfefc165615a6e
Author: Matthew Dillon <dillon at 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





More information about the Commits mailing list