Hi Stefano,

On 10/08/15 13:03, Stefano Stabellini wrote:
>> +                    xen_pfn = xen_page_to_pfn(page);
>> +            }
>> +            fn(pfn_to_gfn(xen_pfn++), data);
> 
> What is the purpose of incrementing xen_pfn here?

Because the Linux page is split into multiple xen_pfn, so we want to get
the next xen_pfn for the next iteration.

Regards,

-- 
Julien Grall

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

Reply via email to