From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Gunthorpe Subject: Re: [PATCH rdma-core 06/14] i40iw: Get rid of unique barrier macros Date: Tue, 7 Mar 2017 15:50:27 -0700 Message-ID: <20170307225027.GA20858@obsidianresearch.com> References: <1487272989-8215-7-git-send-email-jgunthorpe@obsidianresearch.com> <20170301172920.GA11340@ssaleem-MOBL4.amr.corp.intel.com> <20170301175521.GB14791@obsidianresearch.com> <20170301221420.GA18548@ssaleem-MOBL4.amr.corp.intel.com> <20170301230506.GB2820@obsidianresearch.com> <20170303214514.GA12996@ssaleem-MOBL4.amr.corp.intel.com> <20170303222244.GA678@obsidianresearch.com> <20170306191631.GB34252@ssaleem-MOBL4.amr.corp.intel.com> <20170306194052.GB31672@obsidianresearch.com> <20170307224622.GA45028@ssaleem-MOBL4.amr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20170307224622.GA45028-GOXS9JX10wfOxmVO0tvppfooFf0ArEBIu+b9c/7xato@public.gmane.org> Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Shiraz Saleem Cc: "linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "Nikolova, Tatyana E" List-Id: linux-rdma@vger.kernel.org On Tue, Mar 07, 2017 at 04:46:22PM -0600, Shiraz Saleem wrote: > Is __this__ C11 barrier a compiler barrier as well? Yes, of course. > #1 is preferred using atomic_thread_fence(memory_order_seq_cst) for all > archs. Okay.. I will send a patch to fix this then? Jason -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html