lkml.org 
[lkml]   [2021]   [Jun]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH v6 1/7] kernfs: move revalidate to be near lookup
    On Wed, 9 Jun 2021 at 10:49, Ian Kent <raven@themaw.net> wrote:
    >
    > While the dentry operation kernfs_dop_revalidate() is grouped with
    > dentry type functions it also has a strong affinity to the inode
    > operation ->lookup().
    >
    > It makes sense to locate this function near to kernfs_iop_lookup()
    > because we will be adding VFS negative dentry caching to reduce path
    > lookup overhead for non-existent paths.
    >
    > There's no functional change from this patch.
    >
    > Signed-off-by: Ian Kent <raven@themaw.net>

    Reviewed-by: Miklos Szeredi <mszeredi@redhat.com>

    \
     
     \ /
      Last update: 2021-06-11 14:48    [W:4.123 / U:0.052 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site