Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1216977

Re: [PATCH v3 19/20] xen/privcmd: Add support for Linux 64KB page granularity

From Julien Grall <julien.grall@citrix.com>
Newsgroups linux.kernel
Subject Re: [PATCH v3 19/20] xen/privcmd: Add support for Linux 64KB page granularity
Date 2015-09-01 19:20 +0200
Message-ID <q3XnY-4ya-1@gated-at.bofh.it> (permalink)
References <pUT0e-5e5-15@gated-at.bofh.it> <pUTtg-61C-15@gated-at.bofh.it> <pVU3U-5R8-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH v3 19/20] xen/privcmd: Add support for Linux 64KB page  granularity Julien Grall <julien.grall@citrix.com> - 2015-09-01 19:20 +0200

csiph-web