diff options
author | Jan Kara <jack@suse.cz> | 2008-04-29 09:59:39 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-29 17:06:05 +0200 |
commit | af065b8a19041554196971d8b6ae1459798d3b14 (patch) | |
tree | 33bfa04388cecfc50dda596302c3a5c91d0e2b64 /fs/inode.c | |
parent | vfs: fix lock inversion in drop_pagecache_sb() (diff) | |
download | linux-af065b8a19041554196971d8b6ae1459798d3b14.tar.xz linux-af065b8a19041554196971d8b6ae1459798d3b14.zip |
vfs: skip inodes without pages to free in drop_pagecache_sb()
Many inodes have no pagecache, so we can avoid lots of lock-takings.
Signed-off-by: Jan Kara <jack@suse.cz>
Cc: Fengguang Wu <wfg@mail.ustc.edu.cn>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/inode.c')
0 files changed, 0 insertions, 0 deletions