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

git: USB - Preallocate umass buffers to avoid interrupt deadlock


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 6 Sep 2009 19:40:02 -0700 (PDT)

commit b7feb10e74d528c0e7e81c343e9dd66677e6980d
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Sun Sep 6 19:37:55 2009 -0700

    USB - Preallocate umass buffers to avoid interrupt deadlock
    
    * Try to avoid usb allocations made from the interrupt servicer.
      These can deadlock the interrupt handler and any other device
      sharing that irq as well as cause USB panics due to the broken
      critical section.
    
    * This is only a temporary fix.  Another unaddressed issue is
      contigmalloc()'s inability to allocate large physically contiguous
      buffers after the machine has been up a while.
    
    Reported-by: Rumko and multiple others over time

Summary of changes:
 sys/bus/usb/usbdi.c           |    5 ++++-
 sys/dev/usbmisc/umass/umass.c |   15 +++++++++++++++
 2 files changed, 19 insertions(+), 1 deletions(-)

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


-- 
DragonFly BSD source repository



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