[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [RFC PATCH 2/9] iommu: Add ability to map/unmap the number of pages
>>> On 15.03.17 at 21:05, <olekstysh@xxxxxxxxx> wrote: > From: Oleksandr Tyshchenko <oleksandr_tyshchenko@xxxxxxxx> > > Extend the IOMMU code with new APIs and platform callbacks. > These new map_pages/unmap_pages API do almost the same thing > as existing map_page/unmap_page ones except the formers can > handle the number of pages. So do new platform callbacks. > > Currently, this patch requires to modify neither > existing IOMMU drivers nor P2M code. > But, the patch might be rewritten to replace existing > single-page stuff with the multi-page one followed by modifications > of all related parts. Yes please. However, unless you strictly need a page count, please instead use an "order" parameter. Doing that has been on my todo list for quite a while. Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |