Bluetooth: Use RCU to manipulate chan_list
authorGustavo F. Padovan <padovan@profusion.mobi>
Wed, 14 Dec 2011 17:08:48 +0000 (15:08 -0200)
committerGustavo F. Padovan <padovan@profusion.mobi>
Sun, 18 Dec 2011 19:07:56 +0000 (17:07 -0200)
commit8192edef03f9b47f1cc1120724db525e63e218f3
tree5eac8bda79aefa69b41b9914d256aac4431e3c44
parentd01b2ff4e6496bc48a1917b6340e13263f871a15
Bluetooth: Use RCU to manipulate chan_list

Instead of using tasklet_disable() to prevent acess to the channel use, we
can use RCU and improve the performance of our code.

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