From: Eric Dumazet Date: Thu, 28 Jul 2011 04:11:47 +0000 (+0200) Subject: vfs: conditionally call inode_wb_list_del() X-Git-Tag: v3.1-rc1~91^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b12362bdb61a230a67daa77bcd2a11e59b2802e1;p=pandora-kernel.git vfs: conditionally call inode_wb_list_del() Some inodes (pipes, sockets, ...) are not in bdi writeback list. evict() can avoid calling inode_wb_list_del() and its expensive spinlock by checking inode i_wb_list being empty or not. At this point, no other cpu/user can concurrently manipulate this inode i_wb_list Signed-off-by: Eric Dumazet Signed-off-by: Al Viro --- Reading git-diff-tree failed