|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v3 00/21] x86: refactor mm.c (the easy part)
On Sun, Jul 30, 2017 at 12:26:59AM -0600, Jan Beulich wrote:
> >>> Wei Liu <wei.liu2@xxxxxxxxxx> 07/20/17 6:04 PM >>>
> >What is left is mostly PV MMU hypercall functions and their supporting code.
> >I'm still thinking about how to refactor those because the helper functions
> >are
> >a bit convulted. The helper functions are both used by PV MMU code and the
> >common get / put functions. I think I need to refactor the get / put
> >functions.
> >If you think there is a better approach please let me know.
>
> Wouldn't it, for example, be possible to simply move {alloc,free}_page_type()
> to pv-specific code, providing stubs for the !PV case?
>
Yes, that's one of the easier ways of doing it. And I'm inclined at this
point to do that.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |