summaryrefslogtreecommitdiff
path: root/fs/hpfs
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2011-07-28 06:11:47 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2011-08-01 01:41:17 -0400
commitb12362bdb61a230a67daa77bcd2a11e59b2802e1 (patch)
treef85752d085d3618207ef6aa5b7d8a10910201fc5 /fs/hpfs
parent5a30d8a2b8ddd5102c440c7e5a7c8e1fd729c818 (diff)
downloadlinux-stable-b12362bdb61a230a67daa77bcd2a11e59b2802e1.tar.gz
linux-stable-b12362bdb61a230a67daa77bcd2a11e59b2802e1.tar.bz2
linux-stable-b12362bdb61a230a67daa77bcd2a11e59b2802e1.zip
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 <eric.dumazet@gmail.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/hpfs')
0 files changed, 0 insertions, 0 deletions