summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMarco Elver <elver@google.com>2026-07-21 11:19:21 +0200
committerVlastimil Babka (SUSE) <vbabka@kernel.org>2026-07-21 11:28:21 +0200
commit5ff172f6c94d282d83cb88bdfec5f647ad9c6105 (patch)
tree619e6fb0bbf7f76cf26c09909325c661dd9e081b /tools/perf/scripts/python
parentd9e6a7623938968e3752b67e37eaff097e559a54 (diff)
slab: silence sparse warning with type-based partitioning
Sparse does not know __builtin_infer_alloc_token() and complains: sparse: sparse: undefined identifier '__builtin_infer_alloc_token' Fix it by using a dummy variant of __kmalloc_token() if __CHECKER__ is defined. Fixes: feb662d9168b ("slab: support for compiler-assisted type-based slab cache partitioning") Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202607110912.nZTqfCrH-lkp@intel.com/ Signed-off-by: Marco Elver <elver@google.com> Link: https://patch.msgid.link/20260721092005.1986693-1-elver@google.com Acked-by: Harry Yoo (Oracle) <harry@kernel.org> Signed-off-by: Vlastimil Babka (SUSE) <vbabka@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions