From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47662) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2iUc-0001QR-Fy for qemu-devel@nongnu.org; Tue, 17 May 2016 13:09:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b2iUW-0002mw-NR for qemu-devel@nongnu.org; Tue, 17 May 2016 13:09:13 -0400 Received: from mx1.redhat.com ([209.132.183.28]:43465) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2iUW-0002ms-I4 for qemu-devel@nongnu.org; Tue, 17 May 2016 13:09:08 -0400 References: <1463196873-17737-1-git-send-email-cota@braap.org> <1463196873-17737-7-git-send-email-cota@braap.org> <573B4C85.5030005@gmail.com> From: Paolo Bonzini Message-ID: <996d7fc1-5559-5b7c-4162-6dea66ac25e0@redhat.com> Date: Tue, 17 May 2016 19:08:54 +0200 MIME-Version: 1.0 In-Reply-To: <573B4C85.5030005@gmail.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v5 06/18] atomics: add atomic_read_acquire and atomic_set_release List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Sergey Fedorov , "Emilio G. Cota" , QEMU Developers , MTTCG Devel Cc: =?UTF-8?Q?Alex_Benn=c3=a9e?= , Peter Crosthwaite , Richard Henderson On 17/05/2016 18:53, Sergey Fedorov wrote: > On 14/05/16 06:34, Emilio G. Cota wrote: >> > When __atomic is not available, we use full memory barriers instead >> > of smp/wmb, since acquire/release barriers apply to all memory >> > operations and not just to loads/stores, respectively. >> > >> > Signed-off-by: Emilio G. Cota >> > --- >> > include/qemu/atomic.h | 27 +++++++++++++++++++++++++++ >> > > Update docs/atomics.txt? (The same for the previous patch.) I'm okay with doing this separately. Paolo