Thread (3 messages) flat view 3 messages, 3 authors, 2018-08-21

Re: [PATCH] bluetooth/{bnep,cmtp,hidp}: Remove unnecessary smp_mb__{before,after}_atomic

From: Brian Norris <computersforpeace@gmail.com>
Date: 2018-08-14 20:16:08
Also in: lkml, netdev

On Tue, Aug 14, 2018 at 08:41:06PM +0200, Andrea Parri wrote:
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 <redacted>
---
 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(-)
Seems good to me:

Reviewed-by: Brian Norris <computersforpeace@gmail.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help