diff options
| author | Casey Chen <[email protected]> | 2025-05-13 18:26:02 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2025-05-22 21:55:38 +0000 |
| commit | 780138b123816d717dbc0771d4c87e9a8a01963d (patch) | |
| tree | 37712ffeef97cf775f803da7da5c22365dd6ab68 /rust/helpers/helpers.c | |
| parent | Docs/damon: update titles and brief introductions to explain DAMOS (diff) | |
| download | kernel-780138b123816d717dbc0771d4c87e9a8a01963d.tar.gz kernel-780138b123816d717dbc0771d4c87e9a8a01963d.zip | |
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/[email protected]
Signed-off-by: Casey Chen <[email protected]>
Reviewed-by: Yuanyuan Zhong <[email protected]>
Acked-by: Suren Baghdasaryan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
