proc: mark /proc/cmdline as permanent
authorAlexey Dobriyan <adobriyan@gmail.com>
Fri, 30 Dec 2022 09:36:02 +0000 (12:36 +0300)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 3 Feb 2023 06:50:02 +0000 (22:50 -0800)
commita61c01e8f4a5c80e90de80a7fb147101b20afd85
treee8f73a2158872c8145f72fa1daa521bafc382652
parenta3ea42ff8f3c977ac568f0530d2c13a639858764
proc: mark /proc/cmdline as permanent

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

Link: https://lkml.kernel.org/r/Y66xAveh2yUsP7m9@p183
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/proc/cmdline.c