From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42762) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bF13M-0000t6-8N for qemu-devel@nongnu.org; Mon, 20 Jun 2016 11:23:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bF13J-0006zn-Is for qemu-devel@nongnu.org; Mon, 20 Jun 2016 11:23:56 -0400 Received: from mail-lf0-x243.google.com ([2a00:1450:4010:c07::243]:35187) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bF13J-0006zM-B4 for qemu-devel@nongnu.org; Mon, 20 Jun 2016 11:23:53 -0400 Received: by mail-lf0-x243.google.com with SMTP id w130so5799685lfd.2 for ; Mon, 20 Jun 2016 08:23:53 -0700 (PDT) References: <1466181227-14934-1-git-send-email-alex.bennee@linaro.org> <72b6283d-998b-f2d7-9037-a3896c1c9423@redhat.com> <5767F5CA.2020200@gmail.com> From: Sergey Fedorov Message-ID: <57680A87.30407@gmail.com> Date: Mon, 20 Jun 2016 18:23:51 +0300 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC 0/7] Safe watch and breakpoint manipulation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini , =?UTF-8?Q?Alex_Benn=c3=a9e?= , mttcg@greensocs.com, qemu-devel@nongnu.org, fred.konrad@greensocs.com, a.rigo@virtualopensystems.com, cota@braap.org, bobby.prani@gmail.com Cc: peter.maydell@linaro.org, jan.kiszka@siemens.com, mark.burton@greensocs.com, claudio.fontana@huawei.com, rth@twiddle.net On 20/06/16 17:25, Paolo Bonzini wrote: > > On 20/06/2016 15:55, Sergey Fedorov wrote: >>>> I'm not sure why you say that arrays are more amenable than QTAILQ >>>> (though indeed include/qemu/rcu_queue.h only includes QLIST for now), >>>> but I feel bad asking you to redo all the work... >> Is there any realistic way to manage *doubly* linked lists in RCU? > Linux does that fine with circular linked list, but off the top of my > head I cannot think of any reason why QTAILQ would not work. Silly me, I see that now :) Thanks, Sergey