From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Chemparathy Subject: Re: [PATCH 02/15] eal/tile: add atomic operations for TileGx Date: Mon, 8 Dec 2014 13:29:18 -0800 Message-ID: <5486182E.40401@ezchip.com> References: <1418029178-25162-1-git-send-email-zlu@ezchip.com> <1418029178-25162-3-git-send-email-zlu@ezchip.com> <20141208142810.GC3237@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Neil Horman , Zhigang Lu Return-path: In-Reply-To: <20141208142810.GC3237-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" On 12/8/2014 6:28 AM, Neil Horman wrote: > On Mon, Dec 08, 2014 at 04:59:25PM +0800, Zhigang Lu wrote: >> This patch adds architecture specific memory barrier operations for >> TileGx. >> >> Signed-off-by: Zhigang Lu >> Signed-off-by: Cyril Chemparathy >> --- [...] >> + __sync_synchronize(); > I don't see __sync_synchronize defined anywhere. Is that an intrinsic for gcc, > or a library call? That is a GCC primitive. -- Cyril.