re: Bluetooth: Use GFP_KERNEL in read_index_list

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

 



Hello Szymon Janc,

The patch 7cfeb868eb85: "Bluetooth: Use GFP_KERNEL in
read_index_list" from Aug 31, 2012, leads to the following warning:
net/bluetooth/mgmt.c:343 read_index_list()
	 error: scheduling with locks held:  'read_lock:hci_dev_list_lock'

This patch should be reverted because we're not allowed to schedule
while holding the read lock.  The way to avoid these bugs in the future
is to test with CONFIG_DEBUG_ATOMIC_SLEEP=y.  It will give a big splat.

regards,
dan carpenter

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


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux