[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [RFC 13/22] xen/arm: p2m: Replace all usage of __p2m_lookup with p2m_get_entry
On Thu, Jul 28, 2016 at 11:29 AM, Tamas K Lengyel <tamas@xxxxxxxxxxxxx> wrote: > On Thu, Jul 28, 2016 at 8:51 AM, Julien Grall <julien.grall@xxxxxxx> wrote: >> __p2m_lookup is just a wrapper to p2m_get_entry. >> >> Signed-off-by: Julien Grall <julien.grall@xxxxxxx> >> Cc: Razvan Cojocaru <rcojocaru@xxxxxxxxxxxxxxx> >> Cc: Tamas K Lengyel <tamas@xxxxxxxxxxxxx> >> >> --- >> It might be possible to rework the memaccess code to take advantage >> of all the parameters. I will defer this to the memaccess folks. > > Could you elaborate on what you mean? > Never mind, I see it. Yes, doing __p2m_get_mem_access and then p2m_get_entry later duplicates work. I would suggest just replacing __p2m_get_mem_access with a single call to p2m_get_entry to get both the type and the mem_access setting on the page in a single run. Thanks, Tamas _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |