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

Re: [Xen-devel] [PATCH v5 07/10] xen/arm: Handle remove foreign mapping



On 12/17/2013 03:21 PM, Ian Campbell wrote:
> On Tue, 2013-12-17 at 15:06 +0000, Julien Grall wrote:
>> On 12/17/2013 11:18 AM, Ian Campbell wrote:
>> The patch #8 which relinquish memory doesn't give the right mfn in
>> parameters.
>> It's because, you will need to look for each gfn the translated mfn (you
>> can't assumed the mfn are contiguous). So the loop will go back to the
>> version 3.
> 
> I'm not sure what you mean.
> 
> All I was trying to say is that:
>       mfn = paddr_to_pfn(pte.bits & PADDR_MASK & PAGE_MASK)
> is (probably) equivalent to:
>       mfn = pte.p2m.base

We didn't talk about the same thing.

I will use pte.p2m.base for the next version.


-- 
Julien Grall

_______________________________________________
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®.