Re: [PATCH] bluetooth: Remove unnecessary smp_mb__after_atomic() barriers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Andrea,

> The barriers are redundant because atomic_test_and_clear_bit() already
> provides the required full ordering for the cases in question (that is,
> when the bit is cleared).
> 
> Signed-off-by: Andrea Parri <andrea.parri@xxxxxxxxxxxxxxxxxxxx>
> ---
> drivers/bluetooth/btusb.c     |  8 ++------
> drivers/bluetooth/hci_intel.c | 16 ++++------------
> 2 files changed, 6 insertions(+), 18 deletions(-)

patch has been applied to bluetooth-next tree.

Regards

Marcel




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux