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

Rik van Riel riel at surriel.com
Fri Aug 21 12:33:09 PDT 2026


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 at ziepe.ca>
> Cc: Rik van Riel <riel at surriel.com>
> Signed-off-by: Liam R. Howlett (Oracle) <liam at infradead.org>
> 
This is helpful. Thank you.

Reviewed-by: Rik van Riel <riel at surriel.com>


-- 
All Rights Reversed.



More information about the maple-tree mailing list