diff options
| author | Peng Zhang <[email protected]> | 2023-10-27 11:38:39 +0800 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-12-10 16:51:32 -0800 |
| commit | 46c99e26f2f86260fed226cab217d0b3ca8dca56 (patch) | |
| tree | 47adb317b522ca886717ef7bb1b5389765724dfa /tools/perf/scripts | |
| parent | fd32e4e9b7646510ee9010e0d5f8b8857d48a6f7 (diff) | |
radix tree test suite: align kmem_cache_alloc_bulk() with kernel behavior.
When kmem_cache_alloc_bulk() fails to allocate, leave the freed pointers
in the array. This enables a more accurate simulation of the kernel's
behavior and allows for testing potential double-free scenarios.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Peng Zhang <[email protected]>
Reviewed-by: Liam R. Howlett <[email protected]>
Cc: Christian Brauner <[email protected]>
Cc: Jonathan Corbet <[email protected]>
Cc: Mateusz Guzik <[email protected]>
Cc: Mathieu Desnoyers <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: Michael S. Tsirkin <[email protected]>
Cc: Mike Christie <[email protected]>
Cc: Nicholas Piggin <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Suren Baghdasaryan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions