Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Avoiding lockdep warnings in 6lowpan
@ 2014-10-27 14:04 Jukka Rissanen
  2014-10-27 14:04 ` [PATCH v2 1/3] Bluetooth: 6lowpan: Converting rwlocks to use RCU Jukka Rissanen
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Jukka Rissanen @ 2014-10-27 14:04 UTC (permalink / raw)
  To: linux-bluetooth

Hi,

v2:
- rebased on top of latest upstream
- fixed indentation error in patch 1


v1:
patch 1 changes all rwlocks to RCU as suggested by Peter Hurley.
This should help the performance.

The patch 2 is ported from ieee802154 as suggested by Alex Aring.
This will help avoid lockdep warnings in certain transmit scenarios.

The patch 3 changes normal spin locks to spin_lock_bh() variant when
queueing outgoing packets in hci_queue_acl(). This is needed as packets
coming from 6lowpan link are sent from softirq. Thanks again to
Peter Hurley pointing this out.


Cheers,
Jukka


Jukka Rissanen (3):
  Bluetooth: 6lowpan: Converting rwlocks to use RCU
  Bluetooth: 6lowpan: Fix lockdep splats
  Bluetooth: Wrong style spin lock used

 net/bluetooth/6lowpan.c  | 241 ++++++++++++++++++++++++++++-------------------
 net/bluetooth/hci_core.c |   4 +-
 2 files changed, 148 insertions(+), 97 deletions(-)

-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-10-27 14:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-27 14:04 [PATCH v2 0/3] Avoiding lockdep warnings in 6lowpan Jukka Rissanen
2014-10-27 14:04 ` [PATCH v2 1/3] Bluetooth: 6lowpan: Converting rwlocks to use RCU Jukka Rissanen
2014-10-27 14:04 ` [PATCH v2 2/3] Bluetooth: 6lowpan: Fix lockdep splats Jukka Rissanen
2014-10-27 14:10   ` Alexander Aring
2014-10-27 14:28     ` Jukka Rissanen
2014-10-27 14:04 ` [PATCH v2 3/3] Bluetooth: Wrong style spin lock used Jukka Rissanen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox