LOR: USB config SX lock vs. USB suspend and resume SX lock

Bruce Cran bruce at cran.org.uk
Sun Nov 14 21:46:05 UTC 2010


On Sunday 14 November 2010 21:28:02 Hans Petter Selasky wrote:

> Can you verify that this LOR is real, and that it is not due to SX-locks
> having similar names?

I'm not sure how to do that, but "show alllocks" in ddb returns:

Process 14 (usb) thread 0xffffff0005402450 (100051)
exclusive sleep mutex Giant (Giant) r = 0 (0xffffffff80835d40 locked @ /usr/src/head/sys/dev/usb/usb_transfer.c:3121
exclusive sx USB suspend and resume SX lock (USB suspend and resume SX lock) r = 0 (0xffffff00057c2090) locked @ /usr/src/head/sys/dev/usb/usb_device.c:2672
exclusive sx USB config SX lock (USB config SX lock) r = 0 (0xffffff00057c2070) locked @ /usr/src/head/sys/dev/usb/usb_device.c:2671

-- 
Bruce Cran


More information about the freebsd-usb mailing list