Re: [PATCH rdma-core 06/14] i40iw: Get rid of unique barrier macros

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux