Skip to content
Commit af065b8a authored by Jan Kara's avatar Jan Kara Committed by Linus Torvalds
Browse files

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: default avatarJan Kara <jack@suse.cz>
Cc: Fengguang Wu <wfg@mail.ustc.edu.cn>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent eccb95ce
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment