[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2 for-next v2 2/8] x86/mm: carve out create_grant_pv_mapping
>>> On 03.04.17 at 13:22, <wei.liu2@xxxxxxxxxx> wrote: > @@ -4300,6 +4297,15 @@ int create_grant_host_mapping(uint64_t addr, unsigned > long frame, > return create_grant_va_mapping(addr, pte, current); > } > > +int create_grant_host_mapping(uint64_t addr, unsigned long frame, > + unsigned int flags, unsigned int cache_flags) > +{ > + if ( paging_mode_external(current->domain) ) > + return create_grant_p2m_mapping(addr, frame, flags, cache_flags); > + > + return create_grant_pv_mapping(addr, frame, flags, cache_flags); > +} I wonder whether this and its siblings wouldn't better become inline functions. Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |