aboutsummaryrefslogtreecommitdiff
path: root/init/main.c
diff options
context:
space:
mode:
authorGravatar Alexey Dobriyan <adobriyan@gmail.com> 2022-09-20 20:35:23 +0300
committerGravatar Andrew Morton <akpm@linux-foundation.org> 2022-10-03 14:21:45 -0700
commitef1d61781bc6708ccc4a21262cc80a7dad952e04 (patch)
tree8718e18c0d48dcd197f78ab1924ac7d21cab0ac5 /init/main.c
parentnilfs2: remove the unneeded result variable (diff)
downloadlinux-ef1d61781bc6708ccc4a21262cc80a7dad952e04.tar.gz
linux-ef1d61781bc6708ccc4a21262cc80a7dad952e04.tar.bz2
linux-ef1d61781bc6708ccc4a21262cc80a7dad952e04.zip
proc: mark more files as permanent
Mark /proc/devices /proc/kpagecount /proc/kpageflags /proc/kpagecgroup /proc/loadavg /proc/meminfo /proc/softirqs /proc/uptime /proc/version as permanent /proc entries, saving alloc/free and some list/spinlock ops per use. These files are never removed by the kernel so it is OK to mark them. Link: https://lkml.kernel.org/r/Yyn527DzDMa+r0Yj@localhost.localdomain Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'init/main.c')
0 files changed, 0 insertions, 0 deletions