From: "Jan Beulich" Subject: Re: [PATCH RFC v2 1/4] x86/mm: Shadow and p2m changes for PV mem_access Date: Fri, 05 Sep 2014 09:11:08 +0100 Message-ID: <54098C3C0200007800031206@mail.emea.novell.com> References: <53D13457020000780002599B@mail.emea.novell.com> <97A500D504438F4ABC02EBA81613CC633188B795@xmb-aln-x02.cisco.com> <53D221270200007800025CEA@mail.emea.novell.com> <97A500D504438F4ABC02EBA81613CC633188BE3A@xmb-aln-x02.cisco.com> <20140828091442.GB60905@deinos.phlegethon.org> <97A500D504438F4ABC02EBA81613CC63318E4DD6@xmb-aln-x02.cisco.com> <20140828190030.GA2147@deinos.phlegethon.org> <97A500D504438F4ABC02EBA81613CC63318E4EE6@xmb-aln-x02.cisco.com> <20140828203726.GA8094@deinos.phlegethon.org> <97A500D504438F4ABC02EBA81613CC63318E5178@xmb-aln-x02.cisco.com> <20140829095247.GB55783@deinos.phlegethon.org> <97A500D504438F4ABC02EBA81613CC63318E57D3@xmb-aln-x02.cisco.com> <540468D2020000780002F672@mail.emea.novell.com> <97A500D504438F4ABC02EBA81613CC63318E7960@xmb-aln-x02.cisco.com> <5406EE1F0200007800030169@mail.emea.novell.com> <97A500D504438F4ABC02EBA81613CC63318E7F6C@xmb-aln-x02.cisco.com> <5408253B0200007800030B9B@mail.emea.novell.com> <97A500D504438F4ABC02EBA81613CC63318E8E0F@xmb-aln-x02.cisco.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XPobw-00054H-6k for xen-devel@lists.xenproject.org; Fri, 05 Sep 2014 08:11:12 +0000 In-Reply-To: <97A500D504438F4ABC02EBA81613CC63318E8E0F@xmb-aln-x02.cisco.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: "Aravindh Puthiyaparambil (aravindp)" Cc: "xen-devel@lists.xenproject.org" , Keir Fraser , Ian Jackson , Ian Campbell , Tim Deegan List-Id: xen-devel@lists.xenproject.org >>> On 04.09.14 at 20:24, wrote: >> Did you check whether the suggested list shuffling would require >>(massive) changes elsewhere (other than in domain cleanup)? > > "What we do in at least one other place is shuffle the list from one list > head to another, and put the hole thing back when done. I'm not sure this is > a good option here (in particular not going to break that other case, as well > as then needing to consider that if there are two sites doing this, there may > well appear a third one, and hence the question would become whether this > scales)." > > Sorry I did not. From your previous reply I thought this was not a good > option as it wouldn't scale. I will look more at this code now. But Tim's suggestion was an even better one anyway, if it (as both him and me think it will) results in not too ugly code. Jan