lkml.org 
[lkml]   [2015]   [Sep]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v3 19/20] xen/privcmd: Add support for Linux 64KB page granularity
    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


    \
     
     \ /
      Last update: 2015-09-01 19:41    [W:4.241 / U:0.100 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site