linux/fs/proc
Nick Piggin fb045adb99 fs: dcache reduce branches in lookup path
Reduce some branches and memory accesses in dcache lookup by adding dentry
flags to indicate common d_ops are set, rather than having to check them.
This saves a pointer memory access (dentry->d_op) in common path lookup
situations, and saves another pointer load and branch in cases where we
have d_op but not the particular operation.

Patched with:

git grep -E '[.>]([[:space:]])*d_op([[:space:]])*=' | xargs sed -e 's/\([^\t ]*\)->d_op = \(.*\);/d_set_d_op(\1, \2);/' -e 's/\([^\t ]*\)\.d_op = \(.*\);/d_set_d_op(\&\1, \2);/' -i

Signed-off-by: Nick Piggin <npiggin@kernel.dk>
2011-01-07 17:50:28 +11:00
..
array.c
base.c fs: dcache reduce branches in lookup path 2011-01-07 17:50:28 +11:00
cmdline.c
cpuinfo.c
devices.c
generic.c fs: dcache reduce branches in lookup path 2011-01-07 17:50:28 +11:00
inode.c fs: icache RCU free inodes 2011-01-07 17:50:26 +11:00
internal.h
interrupts.c
Kconfig vmcore: it is not experimental any more 2010-10-26 16:52:05 -07:00
kcore.c
kmsg.c
loadavg.c
Makefile
meminfo.c
mmu.c
nommu.c
page.c
proc_devtree.c
proc_net.c
proc_sysctl.c fs: dcache reduce branches in lookup path 2011-01-07 17:50:28 +11:00
proc_tty.c Revert "tty: Add a new file /proc/tty/consoles" 2010-10-23 08:14:12 -07:00
root.c switch procfs to ->mount() 2010-10-29 04:17:01 -04:00
softirqs.c procfs: fix /proc/softirqs formatting 2010-10-27 18:03:13 -07:00
stat.c /proc/stat: fix scalability of irq sum of all cpu 2010-10-27 18:03:13 -07:00
task_mmu.c pagemap: set pagemap walk limit to PMD boundary 2010-11-25 06:50:46 +09:00
task_nommu.c
uptime.c
version.c
vmcore.c