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

Re: [Xen-devel] __vmap multiple times same mfn



On 28/02/17 19:50, Oleksandr Andrushchenko wrote:
> Hi, all!
>
> I have a use-case when I may need to call __vmap for kernel provided
> IPAs (read MFNs)
>
> which may not be PAGE_SIZE aligned etc.
>
> The question is if it is safe to call __vmap multiple times for
> different IPAs
>
> sharing the same page (mfn), e.g. map something like 6ca00 0080 and
> 6ca00 00a0?

What are you trying to do?

You specifically can use vmap to make non-contiguous MFNs end up
contiguous in virtual address space.

The mappings themselves are of course on page boundaries, so you can't
make a non-page-aligned thing appear aligned.

~Andrew

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

 


Rackspace

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