android_kernel_xiaomi_sm8350/fs/gfs2
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
..
acl.c
acl.h
aops.c fs: kill block_prepare_write 2010-10-25 21:18:20 -04:00
bmap.c
bmap.h
dentry.c fs: change d_hash for rcu-walk 2011-01-07 17:50:20 +11:00
dir.c
dir.h
export.c fs: dcache reduce branches in lookup path 2011-01-07 17:50:28 +11:00
file.c locks: let the caller free file_lock on ->setlease failure 2010-10-31 06:35:15 -07:00
gfs2.h
glock.c GFS2: Fix inode deallocation race 2010-11-15 12:44:42 +00:00
glock.h
glops.c
glops.h
incore.h
inode.c GFS2: Fix inode deallocation race 2010-11-15 12:44:42 +00:00
inode.h GFS2: Fix inode deallocation race 2010-11-15 12:44:42 +00:00
Kconfig
lock_dlm.c
log.c Merge branch 'v2.6.36-rc8' into for-2.6.37/barrier 2010-10-19 09:13:04 +02:00
log.h
lops.c
lops.h
main.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq 2010-10-22 17:13:10 -07:00
Makefile
meta_io.c writeback: remove nonblocking/encountered_congestion references 2010-10-26 16:52:05 -07:00
meta_io.h
ops_fstype.c fs: dcache reduce branches in lookup path 2011-01-07 17:50:28 +11:00
ops_inode.c fs: dcache reduce branches in lookup path 2011-01-07 17:50:28 +11:00
quota.c GFS2: Userland expects quota limit/warn/usage in 512b blocks 2010-11-19 11:20:29 +00:00
quota.h
recovery.c
recovery.h
rgrp.c GFS2: Fix inode deallocation race 2010-11-15 12:44:42 +00:00
rgrp.h
super.c fs: icache RCU free inodes 2011-01-07 17:50:26 +11:00
super.h
sys.c
sys.h
trace_gfs2.h
trans.c
trans.h
util.c
util.h
xattr.c
xattr.h