Skip to contentSkip to conversation

proc-mark-proc-cmdline-as-permanent.patch removed from -mm tree

merged mm-nonmm-stable Andrew Morton 1 participant 1 message Feb 3, 2023

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: proc: mark /proc/cmdline as permanent
has been removed from the -mm tree. Its filename was
proc-mark-proc-cmdline-as-permanent.patch

This patch was dropped because it was merged into the mm-nonmm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Alexey Dobriyan <[email protected]>
Subject: proc: mark /proc/cmdline as permanent
Date: Fri, 30 Dec 2022 12:36:02 +0300

/proc/cmdline is never removed, mark is as permanent for slightly faster open and close.

---

fs/proc/cmdline.c renamed from fs/proc/cmdline.c~proc-mark-proc-cmdline-as-permanent +1 -0
@@ -17,6 +17,7 @@ static int __init proc_cmdline_init(void
 	struct proc_dir_entry *pde;
 
 	pde = proc_create_single("cmdline", 0, NULL, cmdline_proc_show);
+	pde_make_permanent(pde);
 	pde->size = saved_command_line_len + 1;
 	return 0;
 }

_

Patches currently in -mm which might be from [email protected] are