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@lists.xen.org https://lists.xen.org/xen-devel