diff options
| author | Luiz Capitulino <[email protected]> | 2025-04-30 20:59:47 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2025-05-13 06:50:47 +0000 |
| commit | 0f4286765e4364bfad479324f78cd015e402398e (patch) | |
| tree | 1027e31d52c5f0ad8d8ec7d0422eceb63dcbae67 /mm/vma.h | |
| parent | mm: kmemleak: drop wrong comment (diff) | |
| download | kernel-0f4286765e4364bfad479324f78cd015e402398e.tar.gz kernel-0f4286765e4364bfad479324f78cd015e402398e.zip | |
mm: kmemleak: mark variables as __read_mostly
The variables kmemleak_enabled and kmemleak_free_enabled are read in the
kmemleak alloc and free path respectively, but are only written to if/when
kmemleak is disabled.
Link: https://lkml.kernel.org/r/4016090e857e8c4c2ade4b20df312f7f38325c15.1746046744.git.luizcap@redhat.com
Signed-off-by: Luiz Capitulino <[email protected]>
Reviewed-by: Catalin Marinas <[email protected]>
Acked-by: David Hildenbrand <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'mm/vma.h')
0 files changed, 0 insertions, 0 deletions
