From: Ian Campbell Subject: Re: [PATCH v3 18/18] xen/arm: IRQ: Handle multiple action per IRQ Date: Thu, 17 Apr 2014 12:36:20 +0100 Message-ID: <1397734580.24638.297.camel@kazak.uk.xensource.com> References: <1396968247-8768-1-git-send-email-julien.grall@linaro.org> <1396968247-8768-19-git-send-email-julien.grall@linaro.org> <1397663693.24638.226.camel@kazak.uk.xensource.com> <534EAA6C.9070601@linaro.org> <1397665048.24638.237.camel@kazak.uk.xensource.com> <534EAE7C.7090609@linaro.org> <534F99C90200007800009DAE@nat28.tlf.novell.com> <534FAEC6.9070303@linaro.org> <534FD3FB0200007800009F41@nat28.tlf.novell.com> <534FB985.7010606@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WakcD-0002QM-VN for xen-devel@lists.xenproject.org; Thu, 17 Apr 2014 11:36:26 +0000 In-Reply-To: <534FB985.7010606@linaro.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Julien Grall Cc: xen-devel@lists.xenproject.org, Keir Fraser , stefano.stabellini@citrix.com, Jan Beulich , tim@xen.org List-Id: xen-devel@lists.xenproject.org On Thu, 2014-04-17 at 12:22 +0100, Julien Grall wrote: > On 04/17/2014 12:15 PM, Jan Beulich wrote: > >>>> On 17.04.14 at 12:36, wrote: > >> In Linux case, they are safe because they are using a single linked list. > > > > And is there a strong reason for us to use a doubly linked one? > > My first version was single-linked list... Ian asked me to use generic > list on V1 to avoid open code. I also suggested that you could import a single linked list implementation if you thought it would be better. > I was looking to port llist.h from Linux but it seems a bit overkill for > action list. I don't see why. I'm sure there are other potential uses of singly linked lists which people just used a double list because it was simpler at the time. Ian.