Source-Changes archive

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

CVS commit: [nick-nhusb] src/sys/dev/usb



Module Name:    src
Committed By:   skrll
Date:           Tue Feb 16 21:17:27 UTC 2016

Modified Files:
        src/sys/dev/usb [nick-nhusb]: uhci.c

Log Message:
Make interrupt handling MP safe by not dropping the bus lock while
traversing the active transfer list.  Instead move the complete transfers
from the active list to a complete list while holding the bus lock.

Once the interrupt list has been traversed we can do callbacks on the
complete list.  usbd_transfer_complete can safely drop the bus lock while
traversing this private list.


To generate a diff of this commit:
cvs rdiff -u -r1.264.4.60 -r1.264.4.61 src/sys/dev/usb/uhci.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index