Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1575267

Re: [PATCH] namei: Remove unlikely annotation for revalidate check in lookup_fast()

From Al Viro <viro@ZenIV.linux.org.uk>
Newsgroups linux.kernel
Subject Re: [PATCH] namei: Remove unlikely annotation for revalidate check in lookup_fast()
Date 2017-02-07 01:10 +0100
Message-ID <t81w5-3FY-1@gated-at.bofh.it> (permalink)
References <t7ZNE-2v6-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Feb 06, 2017 at 05:17:35PM -0500, Steven Rostedt wrote:
> From: "Steven Rostedt (VMware)" <rostedt@goodmis.org>
> 
> The likely/unlikely profiler showed that the unlikely around the
> dentry->d_flags & DCACHE_OP_REVALIDATE was wrong 95% of the time. Adding
> trace_printk()s, it revealed that the dentry ops had hooks to:
> 
>  kernfs_dop_revalidate
>  pid_revalidate
>  proc_sys_revalidate
>  tid_fd_revalidate
> 
> As tools today now access files that have these operations often, it's best
> just to remove the annotation, as it is more dependent on use cases and not
> normal mode of operation if it will be true or not.

"Tools" being what, exactly?  What kind of load had that been measured on?

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] namei: Remove unlikely annotation for revalidate check in  lookup_fast() Steven Rostedt <rostedt@goodmis.org> - 2017-02-06 23:20 +0100
  Re: [PATCH] namei: Remove unlikely annotation for revalidate check  in lookup_fast() Al Viro <viro@ZenIV.linux.org.uk> - 2017-02-07 01:10 +0100
    Re: [PATCH] namei: Remove unlikely annotation for revalidate check  in lookup_fast() Steven Rostedt <rostedt@goodmis.org> - 2017-02-07 02:40 +0100

csiph-web