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

From: Rik van Riel

Date: Tue Jun 30 2026 - 15:33:21 EST


On Tue, 2026-06-30 at 15:08 -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>
>

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

--
All Rights Reversed.