alloc_tag-move-memory_allocation_profiling_sysctls-into-rodata.patch removed from -mm tree
The quilt patch titled
Subject: alloc_tag: move memory_allocation_profiling_sysctls into .rodata
has been removed from the -mm tree. Its filename was
alloc_tag-move-memory_allocation_profiling_sysctls-into-rodata.patch
This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Joel Granados <[email protected]>
Subject: alloc_tag: move memory_allocation_profiling_sysctls into .rodata
Date: Mon, 15 Dec 2025 16:47:37 +0100
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).
---
lib/alloc_tag.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
lib/alloc_tag.c renamed from lib/alloc_tag.c~alloc_tag-move-memory_allocation_profiling_sysctls-into-rodata +1 -4
@@ -783,7 +783,7 @@ static int proc_mem_profiling_handler(co } -static struct ctl_table memory_allocation_profiling_sysctls[] = { +static const struct ctl_table memory_allocation_profiling_sysctls[] = { { .procname ="mem_profiling" , .data = &mem_alloc_profiling_key,
@@ -798,9 +798,6 @@ static struct ctl_table memory_allocatiostatic void __init sysctl_init (void ) { -if (!mem_profiling_support) - memory_allocation_profiling_sysctls[0 ].mode =0444 ; -register_sysctl_init ("vm" , memory_allocation_profiling_sysctls); }#else /* CONFIG_SYSCTL */
_
Patches currently in -mm which might be from [email protected] are