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

Re: [Xen-devel] [PATCH 3/3] x86/xen: optimize get_phys_to_machine()



On 07/01/15 15:18, Juergen Gross wrote:
> On 01/07/2015 03:47 PM, David Vrabel wrote:
>> The page table walk is only needed to distinguish between identity and
>> missing, both of which have INVALID_P2M_ENTRY.
> 
> As get_phys_to_machine is called by __pfn_to_mfn() only which already
> checks for mfn == INVALID_P2M_ENTRY this optimization will have an
> effect only in the early boot case with pfn >= xen_p2m_size.
> 
> I doubt this is necessary.

Doh. Now I remember suggesting this "optimization" before and getting
the same answer from you.

I'll drop this patch.

David

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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