linux/fs/proc
Alexey Dobriyan e7a6e291e3 proc: faster open/close of files without ->release hook
The whole point of code in fs/proc/inode.c is to make sure ->release
hook is called either at close() or at rmmod time.

All if it is unnecessary if there is no ->release hook.

Save allocation+list manipulations under spinlock in that case.

Link: http://lkml.kernel.org/r/20180214063033.GA15579@avx2
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Al Viro <viro@ZenIV.linux.org.uk>
Cc: Kees Cook <keescook@chromium.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2018-04-11 10:28:33 -07:00
..
Kconfig
Makefile
array.c proc: get rid of task lock/unlock pair to read umask for the "status" file 2018-04-11 10:28:33 -07:00
base.c procfs: remove CONFIG_HARDWALL dependency 2018-03-16 10:56:08 +01:00
cmdline.c
consoles.c fs/proc/consoles.c: use seq_putc() in show_console_dev() 2018-02-06 18:32:44 -08:00
cpuinfo.c
devices.c
fd.c proc: use %u for pid printing and slightly less stack 2018-02-06 18:32:43 -08:00
fd.h
generic.c proc: rearrange args 2018-02-06 18:32:43 -08:00
inode.c proc: faster open/close of files without ->release hook 2018-04-11 10:28:33 -07:00
internal.h proc: rearrange args 2018-02-06 18:32:43 -08:00
interrupts.c
kcore.c vfs/proc/kcore, x86/mm/kcore: Fix SMAP fault when dumping vsyscall user page 2018-02-13 09:15:58 +01:00
kmsg.c vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
loadavg.c
meminfo.c
namespaces.c
nommu.c
page.c
proc_net.c proc: rearrange args 2018-02-06 18:32:43 -08:00
proc_sysctl.c vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
proc_tty.c
root.c proc: move /proc/sysvipc creation to where it belongs 2018-04-11 10:28:33 -07:00
self.c fs/proc: use __ro_after_init 2018-02-06 18:32:43 -08:00
softirqs.c
stat.c
task_mmu.c procfs: add seq_put_hex_ll to speed up /proc/pid/maps 2018-04-11 10:28:32 -07:00
task_nommu.c
thread_self.c fs/proc: use __ro_after_init 2018-02-06 18:32:43 -08:00
uptime.c
util.c
version.c
vmcore.c fs/proc/vmcore.c: simpler /proc/vmcore cleanup 2018-02-06 18:32:43 -08:00