# Re: \[PATCH v2\] iova: Move fast alloc size roundup into alloc\_iova\_fast()

- From: Joerg Roedel \<joro@8bytes.org\>
- Date: 2021-12-17 08:11:21 
- List: virtualization
- Page: https://ratatoskr.run/virtualization/2021/12/14883473
- Thread: https://ratatoskr.run/linux-iommu/2021/12/14883463/t.md

```text
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 <redacted>
> Acked-by: Will Deacon <will@kernel.org>
> Reviewed-by: Xie Yongji <redacted>
> Acked-by: Jason Wang <redacted>
> Acked-by: Michael S. Tsirkin <mst@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@huawei.com/
> - Add tags - thanks!

Applied, thanks.

_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization
```
