diff options
author | Casey Chen <cachen@purestorage.com> | 2025-05-13 12:26:02 -0600 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2025-05-22 14:55:38 -0700 |
commit | 780138b123816d717dbc0771d4c87e9a8a01963d (patch) | |
tree | 37712ffeef97cf775f803da7da5c22365dd6ab68 /scripts/lib/kdoc/kdoc_output.py | |
parent | 6a4b3551ba1079e8831fb2821765a49b7fd33dbd (diff) |
alloc_tag: check mem_profiling_support in alloc_tag_init
If mem_profiling_support is false, for example by
sysctl.vm.mem_profiling=never, alloc_tag_init should skip module tags
allocation, codetag type registration and procfs init.
Link: https://lkml.kernel.org/r/20250513182602.121843-1-cachen@purestorage.com
Signed-off-by: Casey Chen <cachen@purestorage.com>
Reviewed-by: Yuanyuan Zhong <yzhong@purestorage.com>
Acked-by: Suren Baghdasaryan <surenb@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions