diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2011-07-28 06:55:13 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2011-08-01 07:41:17 +0200 |
commit | c4ae0c65455c1bb30d1b71c6dd9a1a62aadde8ef (patch) | |
tree | 75d45726ff5f09955054a665e368b919faf4c105 /fs/posix_acl.c | |
parent | vfs: avoid taking inode_hash_lock on pipes and sockets (diff) | |
download | linux-c4ae0c65455c1bb30d1b71c6dd9a1a62aadde8ef.tar.xz linux-c4ae0c65455c1bb30d1b71c6dd9a1a62aadde8ef.zip |
vfs: avoid call to inode_lru_list_del() if possible
inode_lru_list_del() is expensive because of per superblock lru locking,
while some inodes are not in lru list.
Adding a check in iput_final() can speedup pipe/sockets workloads on
SMP.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/posix_acl.c')
0 files changed, 0 insertions, 0 deletions