Re: usbcore and the BKL

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

 



Am Donnerstag, 30. Juli 2009 22:41:06 schrieb Alan Stern:
> Oliver:
>
> The BKL gets used in several places within usbcore.  As far as I can
> tell, all but one of them are unnecessary -- the exception being
> usb_device_poll() in devices.c.  And that should be replaced with a
> private mutex, or perhaps we could use usbfs_mutex.

With respect to poll I agree.
With respect to open() I dimly remember that hiddev needs BKL. Maybe
jkosina remembers.
I am sceptical about file.c::remount. ext2 takes it, too.
usb_device_lseek() would also need a spinlock.

	Regards
		Oliver

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux