[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH for-next v3 6/9] x86: rename hypervisor_{alloc, free}_unused_page



On Fri, Nov 15, 2019 at 02:49:57PM +0100, Jan Beulich wrote:
> On 21.10.2019 17:57, Wei Liu wrote:
> > --- a/xen/arch/x86/guest/xen/xen.c
> > +++ b/xen/arch/x86/guest/xen/xen.c
> > @@ -97,7 +97,7 @@ static void map_shared_info(void)
> >      unsigned int i;
> >      unsigned long rc;
> >  
> > -    if ( hypervisor_alloc_unused_page(&mfn) )
> > +    if ( xen_alloc_unused_page(&mfn) )
> 
> But is just "xen_" as a prefix a good name in Xen code? Perhaps
> "xen_guest_" or (shorter) "xg_"?

That's fine by me.

Wei.

> 
> Jan

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.