From: Eric Dumazet Date: Thu, 28 Jul 2011 04:55:13 +0000 (+0200) Subject: vfs: avoid call to inode_lru_list_del() if possible X-Git-Tag: v3.1-rc1~91^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4ae0c65455c1bb30d1b71c6dd9a1a62aadde8ef;p=pandora-kernel.git 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 Signed-off-by: Al Viro --- Reading git-diff-tree failed