On Tuesday 09 March 2010, Thadeu Lima de Souza Cascardo wrote: > There are three types of input character devices: mousedev, joydev and > evdev. They all use the same major device and, then, their opening is > multiplexed in input_open_file. > > After the BKL pushdown, this multiplexing is protected by the BKL. But > there's already a mutex used for adding and removing to the table > indexed by input_open_file. > > So, we use this mutex instead of the BKL. Since it will call the > handlers' open function under the mutex, I've checked that the current > functions do not call input_{un,}register_{handler,device}, which are > the only other functions to take the mutex. > > Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@xxxxxxxxxxxxxx> Acked-by: Arnd Bergmann <arnd@xxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html