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

Re: [Xen-devel] [RFC PATCH 0/2] map grant refs at pfn = mfn

>>> On 08.07.14 at 17:52, <stefano.stabellini@xxxxxxxxxxxxx> wrote:
> One reason for wanting the second p2m mapping is to avoid tracking mfn
> to pfn mappings in the guest kernel. Since the same mfn can be granted
> multiple times to the backend, finding the right pfn corresponding to a
> given mfn can be difficult and expensive. Providing a second mapping at
> a known address allow the kernel to access the page without knowing the
> pfn.

Isn't this just extending the 1:1 mapping hack, further special casing
handling on ARM rather than trying to use architecture independent
code in generic operations like grant (un)mapping as much as possible?


Xen-devel mailing list



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