diff options
author | Feng Tang <[email protected]> | 2024-10-16 23:41:52 +0800 |
---|---|---|
committer | Vlastimil Babka <[email protected]> | 2024-11-16 21:19:39 +0100 |
commit | 080c8579c37ec9c11cfb8b9eb25b74912b33dc06 (patch) | |
tree | 53794ad683db5cacaa3330331a178ce77dd0f2fc /tools/perf/scripts/python/parallel-perf.py | |
parent | 5474d33ca48e7764ccc38b2ac089863cca83280a (diff) |
mm/slub, kunit: Add testcase for krealloc redzone and zeroing
Danilo Krummrich raised issue about krealloc+GFP_ZERO [1], and Vlastimil
suggested to add some test case which can sanity test the kmalloc-redzone
and zeroing by utilizing the kmalloc's 'orig_size' debug feature.
It covers the grow and shrink case of krealloc() re-using current kmalloc
object, and the case of re-allocating a new bigger object.
[1]. https://lore.kernel.org/lkml/[email protected]/
Suggested-by: Vlastimil Babka <[email protected]>
Signed-off-by: Feng Tang <[email protected]>
Signed-off-by: Vlastimil Babka <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions