diff options
author | 2024-07-11 10:02:16 -0700 | |
---|---|---|
committer | 2024-07-11 19:14:03 +0200 | |
commit | 7b1fdf2ba4bc1434bb4c0077d7c9079a5a45df27 (patch) | |
tree | 83f54381a2dd4fb5424ff56a4c9e6950c1bbfdb5 /scripts/generate_rust_analyzer.py | |
parent | mm, slab: move allocation tagging code in the alloc path into a hook (diff) | |
download | linux-rng-7b1fdf2ba4bc1434bb4c0077d7c9079a5a45df27.tar.xz linux-rng-7b1fdf2ba4bc1434bb4c0077d7c9079a5a45df27.zip |
mm, slab: move prepare_slab_obj_exts_hook under CONFIG_MEM_ALLOC_PROFILING
The only place prepare_slab_obj_exts_hook() is currently being used is
from alloc_tagging_slab_alloc_hook() when CONFIG_MEM_ALLOC_PROFILING=y.
Move its definition under CONFIG_MEM_ALLOC_PROFILING to prevent unused
function warning for CONFIG_SLAB_OBJ_EXT=n case.
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202407050845.zNONqauD-lkp@intel.com/
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Reviewed-by: Xiongwei Song <xiongwei.song@linux.dev>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions