diff options
author | Harry Yoo <harry.yoo@oracle.com> | 2025-03-18 10:59:26 +0900 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2025-04-01 15:17:10 -0700 |
commit | 7fa46cdfffd29459f9ebf6ed891a4c721db06a33 (patch) | |
tree | 829e41d5c8be0a28600c2669a71076f13f42efc7 /tools/perf/scripts/python | |
parent | 7a95a05f15d570e6087fea59280fe267fe809100 (diff) |
mm/kasan: use SLAB_NO_MERGE flag instead of an empty constructor
Use SLAB_NO_MERGE flag to prevent merging instead of providing an empty
constructor. Using an empty constructor in this manner is an abuse of
slab interface.
The SLAB_NO_MERGE flag should be used with caution, but in this case, it
is acceptable as the cache is intended solely for debugging purposes.
No functional changes intended.
Link: https://lkml.kernel.org/r/20250318015926.1629748-1-harry.yoo@oracle.com
Signed-off-by: Harry Yoo <harry.yoo@oracle.com>
Reviewed-by: Alexander Potapenko <glider@google.com>
Reviewed-by: Andrey Konovalov <andreyknvl@gmail.com>
Acked-by: Andrey Ryabinin <ryabinin.a.a@gmail.com>
Cc: Dmitriy Vyukov <dvyukov@google.com>
Cc: Vincenzo Frascino <vincenzo.frascino@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions