]> 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)
commitd3be48e75f3b60f84fd42430c4734236482b781e
treebcb1efa2cec7f2e12aff5a5d40b2115c3b738d38
parentc3b2f67d8d8aeeb6ee76370c4d92586785cfad9a
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