Re: [PATCH v2 2/2] mm: krealloc: clarify valid usage of __GFP_ZERO

From: David Rientjes
Date: Mon Aug 12 2024 - 22:32:56 EST


On Tue, 13 Aug 2024, Danilo Krummrich wrote:

> Properly document that if __GFP_ZERO logic is requested, callers must
> ensure that, starting with the initial memory allocation, every
> subsequent call to this API for the same memory allocation is flagged
> with __GFP_ZERO. Otherwise, it is possible that __GFP_ZERO is not fully
> honored by this API.
>
> Signed-off-by: Danilo Krummrich <dakr@xxxxxxxxxx>

Acked-by: David Rientjes <rientjes@xxxxxxxxxx>