Re: [PATCH v3 13/19] maple_tree: Document that erase may use GFP_KERNEL for allocations

From: Rik van Riel

Date: Fri Aug 21 2026 - 15:33:35 EST


On Fri, 2026-08-21 at 15:26 -0400, Liam R. Howlett (Oracle) wrote:
> State that the mas_erase() and mtree_erase() functions may use
> GFP_KERNEL on allocation retry.  Don't just depend on people reading
> the
> documentation by adding a check that will warn of the use.
>
> Cc: Jason Gunthorpe <jgg@xxxxxxxx>
> Cc: Rik van Riel <riel@xxxxxxxxxxx>
> Signed-off-by: Liam R. Howlett (Oracle) <liam@xxxxxxxxxxxxx>
>
This is helpful. Thank you.

Reviewed-by: Rik van Riel <riel@xxxxxxxxxxx>


--
All Rights Reversed.