Joerg Roedel
2021-Dec-17 08:11 UTC
[PATCH v2] iova: Move fast alloc size roundup into alloc_iova_fast()
On Tue, Dec 07, 2021 at 07:17:26PM +0800, John Garry wrote:> It really is a property of the IOVA rcache code that we need to alloc a > power-of-2 size, so relocate the functionality to resize into > alloc_iova_fast(), rather than the callsites. > > Signed-off-by: John Garry <john.garry at huawei.com> > Acked-by: Will Deacon <will at kernel.org> > Reviewed-by: Xie Yongji <xieyongji at bytedance.com> > Acked-by: Jason Wang <jasowang at redhat.com> > Acked-by: Michael S. Tsirkin <mst at redhat.com> > --- > Differences to v1: > - Separate out from original series which conflicts with Robin's IOVA FQ work: > https://lore.kernel.org/linux-iommu/1632477717-5254-1-git-send-email-john.garry at huawei.com/ > - Add tags - thanks!Applied, thanks.