[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <FA7B52C1-96F5-47E5-83EB-E2A2147490ED@holtmann.org>
Date: Tue, 21 Aug 2018 16:55:47 +0200
From: Marcel Holtmann <marcel@...tmann.org>
To: Andrea Parri <andrea.parri@...rulasolutions.com>
Cc: Johan Hedberg <johan.hedberg@...il.com>,
"David S. Miller" <davem@...emloft.net>,
linux-bluetooth@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org,
Jeffy Chen <jeffy.chen@...k-chips.com>,
Brian Norris <briannorris@...omium.org>,
AL Yu-Chen Cho <acho@...e.com>
Subject: Re: [PATCH] bluetooth/{bnep,cmtp,hidp}: Remove unnecessary
smp_mb__{before,after}_atomic
Hi Andrea,
> The barriers are unneeded; wait_woken() and woken_wake_function()
> already provide us with the required synchronization: remove them
> and document that we're relying on the (implicit) synchronization
> provided by wait_woken() and woken_wake_function().
>
> Signed-off-by: Andrea Parri <andrea.parri@...rulasolutions.com>
> ---
> net/bluetooth/bnep/core.c | 7 ++++---
> net/bluetooth/cmtp/core.c | 14 ++++++++------
> net/bluetooth/hidp/core.c | 13 ++++++++-----
> 3 files changed, 20 insertions(+), 14 deletions(-)
patch has been applied to bluetooth-next tree.
Regards
Marcel
Powered by blists - more mailing lists