]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
alloc_tag: move memory_allocation_profiling_sysctls into .rodata
authorJoel Granados <joel.granados@kernel.org>
Tue, 9 Dec 2025 11:48:27 +0000 (12:48 +0100)
committerJoel Granados <joel.granados@kernel.org>
Mon, 5 Jan 2026 12:40:33 +0000 (13:40 +0100)
commitb22d81fb683f22304f017b1b1674e6937bdd6d49
tree1d5a243e889db40f22a55b543be350e08504aaf0
parent486401052432f1ba1628e1eed59b3e6bfb07b5c1
alloc_tag: move memory_allocation_profiling_sysctls into .rodata

Remove the change in file mode permissions done before initializing the
sysctl. It is not necessary as the writing of the kernel variable will
be blocked by the proc_mem_profiling_handler when writing is disallowed
(also controlled by mem_profiling_support).

Acked-by: Suren Baghdasaryan <surenb@google.com>
Signed-off-by: Joel Granados <joel.granados@kernel.org>
lib/alloc_tag.c