From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752336AbdJKRmu (ORCPT ); Wed, 11 Oct 2017 13:42:50 -0400 Received: from mail-wm0-f48.google.com ([74.125.82.48]:53085 "EHLO mail-wm0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751487AbdJKRmt (ORCPT ); Wed, 11 Oct 2017 13:42:49 -0400 X-Google-Smtp-Source: AOwi7QBMNaFTX568nNENLSAl3NfohMOsIUeysyZAxhdbR1LZHOsDFmQSBIgc8Krq530TvUMhWpefWA== Date: Wed, 11 Oct 2017 19:42:39 +0200 From: Andrea Parri To: Doug Ledford , Sean Hefty , Hal Rosenstock Cc: Mike Marciniszyn , "Paul E. McKenney" , Will Deacon , Peter Zijlstra , Boqun Feng , Nicholas Piggin , David Howells , Alan Stern , linux-kernel@vger.kernel.org Subject: [Question] drivers/infiniband: on smp_read_barrier_depends() usages Message-ID: <20171011174239.GA3224@andrea> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dear IB supporters, I was reviewing current usages of smp_read_barrier_depends() https://marc.info/?l=linux-kernel&m=150723193717856&w=2 when I stubled over drivers/infiniband/: I've found 19 instances of this barrier here, but their intent is unclear to me and I'm wondering if you could clarify it. (Most of these usages are accompanied by the comment /* see post_one_send() */ suggesting that they're sharing a common intent.) Thanks in advance, Andrea