git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a30d8a
)
vfs: conditionally call inode_wb_list_del()
author
Eric Dumazet
<eric.dumazet@gmail.com>
Thu, 28 Jul 2011 04:11:47 +0000
(06:11 +0200)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Mon, 1 Aug 2011 05:41:17 +0000
(
01:41
-0400)
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>
fs/inode.c
patch
|
blob
|
history
diff --cc
fs/inode.c
Simple merge