From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:32980) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VE5C6-0000R7-VB for qemu-devel@nongnu.org; Mon, 26 Aug 2013 18:23:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VE5By-0002q4-I9 for qemu-devel@nongnu.org; Mon, 26 Aug 2013 18:23:30 -0400 Received: from mail-ea0-x22b.google.com ([2a00:1450:4013:c01::22b]:54047) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VE5By-0002py-Av for qemu-devel@nongnu.org; Mon, 26 Aug 2013 18:23:22 -0400 Received: by mail-ea0-f171.google.com with SMTP id n15so1888380ead.16 for ; Mon, 26 Aug 2013 15:23:21 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <521BD554.4010806@redhat.com> Date: Tue, 27 Aug 2013 00:23:16 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1377371209-2017-1-git-send-email-ncmike@ncultra.org> <20130825191835.GA1073@Krystal> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC PATCH] Introduce RCU-enabled DQs (v2) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Mike Day Cc: rp@svcs.cs.pdx.edu, qemu-devel@nongnu.org, lttng-dev@lists.lttng.org, Mathieu Desnoyers , Anthony Liguori , Paul Mckenney Il 26/08/2013 23:48, Mike Day ha scritto: > > > Mathieu - Thanks for the review! And thanks for the code, I'm working > with it right now. I like the idea of using a flag to provide a form of > atomicity for the doubly-linked list elements. I'm also planning on > running some timing tests to see of the additional memory barriers and > atomic accesses make *any* difference whatsoever. We probably have already too many queue/list variations (a relic of the BSD queue.h headers). Linux does not need RCU-friendly reverse iteration at all, do we really need it? In other words, I think your v2 was really close to mergeable state... Paolo