From: Ian Campbell Subject: Re: [Xen-Devel] [PATCH] [GSOC14] refactored mempaging code from xenpaging to libxc. Date: Thu, 12 Jun 2014 14:55:01 +0100 Message-ID: <1402581301.26678.9.camel@kazak.uk.xensource.com> References: <1402565030-22004-1-git-send-email-myselfdushyantbehl@gmail.com> <5399A984.6010300@citrix.com> <1402579640.26678.7.camel@kazak.uk.xensource.com> <5399AB2D.5040307@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Andres Lagar Cavilla Cc: Andrew Cooper , xen-devel@lists.xen.org, Dushyant Behl , dave.scott@eu.citrix.com, stefano.stabellini@eu.citrix.com List-Id: xen-devel@lists.xenproject.org On Thu, 2014-06-12 at 06:49 -0700, Andres Lagar Cavilla wrote: > On Thu, Jun 12, 2014 at 6:29 AM, Andrew Cooper > wrote: > On 12/06/14 14:27, Ian Campbell wrote: > > On Thu, 2014-06-12 at 14:22 +0100, Andrew Cooper wrote: > >>> +# mem paging setup > >>> +GUEST_SRCS-y += xc_mem_paging_setup.c > >>> + > >> I don't think you need the comment here. It is obvious > from the name of > >> the file, although I would suggest you name it > "xc_dom_paging.c" or > >> something a tad less specific. > > xc_dom_* are, for better or worse, generally domain builder > related. > > > > Given the API is xen_mem_paging_* I don't think the name > here is so bad, > > I might be inclined to drop the _setup if there is any > chance of > > anything else being added here. > > > > > > > Hmm yes I suppose. I would certainly drop the _setup, but > "xc_mem_paging.c" is fine. > xc_mem_paging.c is part of libxenctrl and wraps the hypercalls to page > in, page out etc. Would it be inappropriate to put this new function in that file then?