From: "Jan Beulich" Subject: Re: [PATCH RFC v2 1/4] x86/mm: Shadow and p2m changes for PV mem_access Date: Thu, 04 Sep 2014 07:39:23 +0100 Message-ID: <5408253B0200007800030B9B@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> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XPQha-0001Vs-K4 for xen-devel@lists.xenproject.org; Thu, 04 Sep 2014 06:39:26 +0000 In-Reply-To: <97A500D504438F4ABC02EBA81613CC63318E7F6C@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 03.09.14 at 20:50, wrote: >> > Is the page_list the only place that will tell me the range of pages that >>> belong to a PV guest? >> >>Yes. No upper bound on the PFN space is being tracked. > > OK, in that case the only thing I can think of is to set a max memory limit > for PV domains that an access listener can attach to so that the hypercall > preemption / continuation is not required. In addition we could add a kernel > command line parameter that overrides this and document that this could cause > denial of service issues when used. Did you check whether the suggested list shuffling would require (massive) changes elsewhere (other than in domain cleanup)? Jan