summaryrefslogtreecommitdiff
path: root/arch/arm64
diff options
context:
space:
mode:
authorIan Kent <raven@themaw.net>2021-07-16 17:28:24 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-07-27 09:29:14 +0200
commitc7e7c04274b13f98f758fb69b03f2ab61976ea80 (patch)
treea2c5221808b75a5d0710372f60cc8f7da12788cc /arch/arm64
parent895adbec302e92086359e6fd92611ac3be6d92c3 (diff)
downloadlinux-next-c7e7c04274b13f98f758fb69b03f2ab61976ea80.tar.gz
kernfs: use VFS negative dentry caching
If there are many lookups for non-existent paths these negative lookups can lead to a lot of overhead during path walks. The VFS allows dentries to be created as negative and hashed, and caches them so they can be used to reduce the fairly high overhead alloc/free cycle that occurs during these lookups. Use the kernfs node parent revision to identify if a change has been made to the containing directory so that the negative dentry can be discarded and the lookup redone. Reviewed-by: Miklos Szeredi <mszeredi@redhat.com> Signed-off-by: Ian Kent <raven@themaw.net> Link: https://lore.kernel.org/r/162642770420.63632.15791924970508867106.stgit@web.messagingengine.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/arm64')
0 files changed, 0 insertions, 0 deletions