From: Tim Deegan Subject: Re: [PATCH] [DOCS/RFC]: Xen: Clarification to terms used in hypervisor memory management Date: Thu, 28 May 2015 10:57:08 +0100 Message-ID: <20150528095708.GA24442@deinos.phlegethon.org> References: <1432745351-19546-1-git-send-email-andrew.cooper3@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: <1432745351-19546-1-git-send-email-andrew.cooper3@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: Stefano Stabellini , Keir Fraser , Ian Campbell , Jan Beulich , Xen-devel List-Id: xen-devel@lists.xenproject.org At 17:49 +0100 on 27 May (1432748951), Andrew Cooper wrote: > RFC: All changes here are subject to my current understanding, which might be wrong > > Memory management is hard[citation needed]. Furthermore, it isn't helped by > the inconsistent use of terms through the code. > > Describe the currently-used terms in more practical terms. > > Signed-off-by: Andrew Cooper Acked-by: Tim Deegan > The term 'pfn' is most little awkward, as it currently has two uses in > different areas of the code. I would argue that the caller of the pagetable > code ought to know exactly if it dealing with an mfn or a gfn in the > pagetables, at which point pfn from the old point of view becomes redundant. Yes, I would hope that we can go that direction over time. Cheers, Tim.