Re: [PATCH v14 09/13] vduse: take out allocations from vduse_dev_alloc_coherent

From: Jason Wang

Date: Mon Jan 19 2026 - 01:42:23 EST


On Fri, Jan 16, 2026 at 10:05 PM Eugenio Pérez <eperezma@xxxxxxxxxx> wrote:
>
> The function vduse_dev_alloc_coherent will be called under rwlock in
> next patches. Make it out of the lock to avoid increasing its fail
> rate.
>
> Signed-off-by: Eugenio Pérez <eperezma@xxxxxxxxxx>
> ---
> v12:
> * Avoid free_pages_exact(NULL, size) in case vduse_domain_alloc_coherent
> fails (MST).
>
> v11: Remove duplicated call to free_pages_exact (Jason).
> ---

Acked-by: Jason Wang <jasowang@xxxxxxxxxx>

Thanks