diff options
| author | Danilo Krummrich <[email protected]> | 2024-08-13 00:34:35 +0200 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-09-03 21:15:37 -0700 |
| commit | 489a744e5fb16503b495ad1fa3dd1abf25b224e7 (patch) | |
| tree | 3bf8daea81e7f162b13f84a6c1a20459d0d5f207 /tools/perf/scripts/python | |
| parent | 1a83a716ec233990e1fd5b6fbb1200ade63bf450 (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.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Danilo Krummrich <[email protected]>
Acked-by: David Rientjes <[email protected]>
Cc: Christoph Lameter <[email protected]>
Cc: Hyeonggon Yoo <[email protected]>
Cc: Joonsoo Kim <[email protected]>
Cc: Pekka Enberg <[email protected]>
Cc: Roman Gushchin <[email protected]>
Cc: Vlastimil Babka <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions