From: Tim Deegan Subject: Re: [RFC 1/4] HVM x86 deprivileged mode: Page allocation helper Date: Mon, 10 Aug 2015 11:08:29 +0100 Message-ID: <20150810100829.GE3094@deinos.phlegethon.org> References: <1438879519-564-1-git-send-email-Ben.Catterall@citrix.com> <1438879519-564-2-git-send-email-Ben.Catterall@citrix.com> <55C3B3F3.7000804@citrix.com> <55C480FE.9010802@citrix.com> <20150810085041.GA3094@deinos.phlegethon.org> <20150810085236.GB3094@deinos.phlegethon.org> <55C866F4.7010101@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <55C866F4.7010101@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Andrew Cooper Cc: xen-devel@lists.xensource.com, keir@xen.org, ian.campbell@citrix.com, george.dunlap@eu.citrix.com, jbeulich@suse.com, Ben Catterall List-Id: xen-devel@lists.xenproject.org At 09:55 +0100 on 10 Aug (1439200516), Andrew Cooper wrote: > On 10/08/2015 09:52, Tim Deegan wrote: > >> Whie I agree that it would be good to account this to the domain, > >> paging->alloc_page() is an internal _paging assistance_ helper. :) > >> This new allocation is nothing to do with mm/paging-assistance, so > >> either it should find its own memory or the hap/shadow pool needs to > >> be made more generic. > > ...at which point other HVM overheads - VMCx pages, bitmaps &c - could > > be allocated from it as well. > > I agree very much in principle, but I believe other threads have > settles on all allocations being global, or per-pcpu, which means no > per-domain allocation. Grand so. :) Tim.