Skip to content

Bluetooth: Optimize bt_cb(skb) usage

Johan Hedberg linux-bluetooth 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Bluetooth: Remove redundant setting to zero of bt_cbinclude/net/bluetooth/bluetooth.h+2 -60 replies
2/3Bluetooth: Compress the size of struct hci_ctrlinclude/net/bluetooth/bluetooth.h net/bluetooth/hci_core.c net/bluetooth/hci_request.c +1 more+23 -140 replies
3/3Bluetooth: bt_skb_cb: Merge force_active and incoming into flagsinclude/net/bluetooth/bluetooth.h include/net/bluetooth/hci_core.h net/bluetooth/hci_conn.c +3 more+26 -180 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Bluetooth: Optimize bt_cb(skb) usage

Hi,

This set of patches does changes to the structs behind bt_cb(skb) to minimize their sizes. This is important since skb->cb has a quite small fixed size.

Johan

----------------------------------------------------------------
Johan Hedberg (3):
Bluetooth: Remove redundant setting to zero of bt_cb
Bluetooth: Compress the size of struct hci_ctrl
Bluetooth: bt_skb_cb: Merge force_active and incoming into flags

 include/net/bluetooth/bluetooth.h | 25 ++++++++++++++-----------
 include/net/bluetooth/hci_core.h  |  2 +-
 net/bluetooth/hci_conn.c          |  4 ++--
 net/bluetooth/hci_core.c          | 29 ++++++++++++++++-------------
 net/bluetooth/hci_request.c       | 10 +++++++---
 net/bluetooth/hci_sock.c          | 12 ++++++------
 net/bluetooth/l2cap_core.c        |  7 +++++--
 7 files changed, 51 insertions(+), 38 deletions(-)