From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44077) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2iFS-0001xu-GV for qemu-devel@nongnu.org; Tue, 17 May 2016 12:53:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b2iFM-0007nW-Fo for qemu-devel@nongnu.org; Tue, 17 May 2016 12:53:33 -0400 Received: from mail-lf0-x242.google.com ([2a00:1450:4010:c07::242]:36588) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2iFM-0007nP-88 for qemu-devel@nongnu.org; Tue, 17 May 2016 12:53:28 -0400 Received: by mail-lf0-x242.google.com with SMTP id y84so1593057lfc.3 for ; Tue, 17 May 2016 09:53:28 -0700 (PDT) References: <1463196873-17737-1-git-send-email-cota@braap.org> <1463196873-17737-7-git-send-email-cota@braap.org> From: Sergey Fedorov Message-ID: <573B4C85.5030005@gmail.com> Date: Tue, 17 May 2016 19:53:25 +0300 MIME-Version: 1.0 In-Reply-To: <1463196873-17737-7-git-send-email-cota@braap.org> 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: "Emilio G. Cota" , QEMU Developers , MTTCG Devel Cc: =?UTF-8?Q?Alex_Benn=c3=a9e?= , Paolo Bonzini , Peter Crosthwaite , Richard Henderson 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.) Kind regards, Sergey