]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Change l2cap chan_list to use RCU
authorGustavo F. Padovan <padovan@profusion.mobi>
Sat, 17 Dec 2011 12:56:45 +0000 (10:56 -0200)
committerGustavo F. Padovan <padovan@profusion.mobi>
Sun, 18 Dec 2011 19:07:57 +0000 (17:07 -0200)
commit44864dd65d48ef8aad3172f7a93f3010fc653415
treebcb1efa2cec7f2e12aff5a5d40b2115c3b738d38
parent9f0706629ca75fb439c8225c127820dc4db961db
Bluetooth: Change l2cap chan_list to use RCU

This list has much more reads than writes, so RCU makes senses here, also
it avoid deadlock against the socket lock.

Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/l2cap_core.c