Re: [PATCH 02/12] swiotlb-xen: fix late init retry

From: Christoph Hellwig
Date: Wed Sep 08 2021 - 02:52:14 EST


On Tue, Sep 07, 2021 at 02:04:47PM +0200, Jan Beulich wrote:
> The commit referenced below removed the assignment of "bytes" from
> xen_swiotlb_init() without - like done for xen_swiotlb_init_early() -
> adding an assignment on the retry path, thus leading to excessively
> sized allocations upon retries.
>
> Fixes: 2d29960af0be ("swiotlb: dynamically allocate io_tlb_default_mem")
> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
> Cc: stable@xxxxxxxxxxxxxxx

Looks good,

Reviewed-by: Christoph Hellwig <hch@xxxxxx>