From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33934) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIwlj-0000CP-MV for qemu-devel@nongnu.org; Wed, 04 Feb 2015 05:01:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YIwle-0003Tc-IS for qemu-devel@nongnu.org; Wed, 04 Feb 2015 05:01:11 -0500 Received: from mail-wg0-x231.google.com ([2a00:1450:400c:c00::231]:54205) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIwle-0003TH-BE for qemu-devel@nongnu.org; Wed, 04 Feb 2015 05:01:06 -0500 Received: by mail-wg0-f49.google.com with SMTP id k14so702938wgh.8 for ; Wed, 04 Feb 2015 02:01:05 -0800 (PST) Sender: Paolo Bonzini Message-ID: <54D1EDDC.3000907@redhat.com> Date: Wed, 04 Feb 2015 11:01:00 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1423001299-11761-1-git-send-email-cota@braap.org> <1423001299-11761-3-git-send-email-cota@braap.org> In-Reply-To: <1423001299-11761-3-git-send-email-cota@braap.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 2/3] rcu: use rcu_{dereference, assign_pointer} instead of atomic_rcu_{read, set} List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Emilio G. Cota" Cc: qemu-devel@nongnu.org On 03/02/2015 23:08, Emilio G. Cota wrote: > This matches the semantics of liburcu. This is not necessary. The two sets of macros are exactly the same, so it's okay to use atomic_rcu_read/write. Paolo