diff options
author | Harry Yoo <harry.yoo@oracle.com> | 2025-03-18 04:45:33 +0300 |
---|---|---|
committer | Kees Cook <kees@kernel.org> | 2025-04-28 20:32:43 +0300 |
commit | 28cd28a752058bf98b38013039bbde81df48b932 (patch) | |
tree | ee7f9f227344a22abdd965405a72f4a3379a43c1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b4432656b36e5cc1d50a1f2dc15357543add530e (diff) | |
download | linux-28cd28a752058bf98b38013039bbde81df48b932.tar.xz |
lkdtm: use SLAB_NO_MERGE 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 soley for debugging purposes.
No functional changes intended.
Signed-off-by: Harry Yoo <harry.yoo@oracle.com>
Link: https://lore.kernel.org/r/20250318014533.1624852-1-harry.yoo@oracle.com
Signed-off-by: Kees Cook <kees@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions