[PATCH] FastWalk Dcache
authorHanna V. Linder <hannal@us.ibm.com>
Wed, 24 Apr 2002 08:24:02 +0000 (01:24 -0700)
committerLinus Torvalds <torvalds@penguin.transmeta.com>
Wed, 24 Apr 2002 08:24:02 +0000 (01:24 -0700)
commit898683e9fabbbc9c9e837551f996423853fb26ba
tree3ec2bab3ac1e23ff998f849d1f46955b6cee1763
parentfe7885a4a5fdca56365343251b3007b67b77da86
[PATCH] FastWalk Dcache

Reduce cacheline bouncing when a dentry is in the cache.

Specifically, the d_count reference counter is not incremented and
decremented for every dentry in a path during path walking if the dentry
is in the dcache.  Execcisve atomic inc/dec's are expensive on SMP
systems due to the cachline bouncing.
fs/dcache.c
fs/namei.c
include/linux/dcache.h
include/linux/fs.h