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

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


commit 9e067ab24bb56831da08df8c098e3404ec3c8172
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/9e067ab24bb56831da08df8c098e3404ec3c8172


-- 
DragonFly BSD source repository





More information about the Commits mailing list