[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v3 1/9] x86: move some xen mm function declarations
On 02.10.2019 19:16, Hongyan Xia wrote: > From: Wei Liu <wei.liu2@xxxxxxxxxx> > > They were put into page.h but mm.h is more appropriate. > > The real reason is that I will be adding some new functions which > takes mfn_t. It turns out it is a bit difficult to do in page.h. > > No functional change. > > Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx> Acked-by: Jan Beulich <jbeulich@xxxxxxxx> with one further request: > --- a/xen/include/asm-x86/mm.h > +++ b/xen/include/asm-x86/mm.h > @@ -630,4 +630,9 @@ int arch_acquire_resource(struct domain *d, unsigned int > type, > unsigned int id, unsigned long frame, > unsigned int nr_frames, xen_pfn_t mfn_list[]); > > +/* Allocator functions for Xen pagetables. */ > +void *alloc_xen_pagetable(void); > +void free_xen_pagetable(void *v); > +l1_pgentry_t *virt_to_xen_l1e(unsigned long v); Can these please be put next to e.g. do_page_walk()? Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |