commit | 5c09048c48aee54494518db236c7a505e467d01b | [log] [tgz] |
---|---|---|
author | Ian Kent <raven@themaw.net> | Fri Apr 09 18:58:53 2021 +0800 |
committer | Ian Kent <raven@themaw.net> | Fri Apr 09 18:58:53 2021 +0800 |
tree | db010a5d70682c2d0e8b479a6c6672fb944a3ee0 | |
parent | 47b7e7c3a4c8734fc836999089898194ca45b1b6 [diff] |
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. Signed-off-by: Ian Kent <raven@themaw.net>