diff options
author | Danilo Krummrich <dakr@kernel.org> | 2024-07-30 21:29:27 +0200 |
---|---|---|
committer | Danilo Krummrich <dakr@kernel.org> | 2024-08-13 16:04:19 +0200 |
commit | 91735c85de576f2dd353595d96075952caeedcd4 (patch) | |
tree | 264a804e5d3ed03d306f8b7a20882ffb4ab04379 /Documentation | |
parent | a089a03947a5bf3a2a28919bb859ddc394b897bb (diff) |
mm: krealloc: clarify valid usage of __GFP_ZERO
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@kernel.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions