From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shiraz Saleem Subject: Re: [PATCH rdma-core 06/14] i40iw: Get rid of unique barrier macros Date: Tue, 7 Mar 2017 17:23:16 -0600 Message-ID: <20170307232316.GA51816@ssaleem-MOBL4.amr.corp.intel.com> References: <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> <20170307225027.GA20858@obsidianresearch.com> <20170307230121.GA52428@ssaleem-MOBL4.amr.corp.intel.com> <20170307231145.GB20858@obsidianresearch.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20170307231145.GB20858-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org> Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Jason Gunthorpe Cc: "linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "Nikolova, Tatyana E" List-Id: linux-rdma@vger.kernel.org On Tue, Mar 07, 2017 at 04:11:45PM -0700, Jason Gunthorpe wrote: > On Tue, Mar 07, 2017 at 05:01:21PM -0600, Shiraz Saleem wrote: > > > One more question - C11 atomics are only supported on latest GCC > > 4.9? User would need to move newer compilers. Yes? > > No, we have an emulation layer for this. > > Older compilers will translate to the gcc built in > __sync_synchronize() which is still MFENCE. > > I tested that this works as expected on RH 6's built in compiler. > Ok. Great. Then, lets proceed with a revised patch including the C11 barrier. Thank you 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