]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Avoid using GFP_ATOMIC where not necessary
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 19 Feb 2014 12:57:43 +0000 (14:57 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 19 Feb 2014 16:04:23 +0000 (08:04 -0800)
commit1c304fb2ce97339f2f85cf0af1100bdef60a8366
treebc952493bde217c1166658928779763a58960e05
parente6b74804e0ba436675803f9aaa37b367ef9fb816
Bluetooth: Avoid using GFP_ATOMIC where not necessary

The various pieces of data cached in the hci_dev structure do not need
to be allocated using GFP_ATOMIC since they are never added from
interrupt context. This patch updates these allocations to use
GFP_KERNEL instead.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_core.c