Files
linux/fs
Alexey Dobriyan 4f1134370a proc: use slower rb_first()
In a typical for /proc "open+read+close" usecase, dentry is looked up
successfully on open only to be killed in dput() on close.  In fact
dentries which aren't /proc/*/...  and /proc/sys/* were almost NEVER
CACHED.  Simple printk in proc_lookup_de() shows that.

Now that ->delete hook intelligently picks which dentries should live in
dcache and which should not, rbtree caching is not necessary as dcache
does it job, at last!

As a side effect, struct proc_dir_entry shrinks by one pointer which can
go into inline name.

Link: http://lkml.kernel.org/r/20180314231032.GA15854@avx2
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Acked-by: Davidlohr Bueso <dbueso@suse.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2018-04-11 10:28:34 -07:00
..
2018-03-14 13:31:23 +01:00
2018-03-27 13:18:09 -04:00
2018-04-03 16:27:08 -04:00
2018-02-06 18:32:45 -08:00
2018-03-07 11:47:15 +01:00
2018-04-11 10:28:34 -07:00
2017-09-04 19:05:15 -04:00
2018-02-06 18:32:45 -08:00
2017-04-17 12:52:27 -04:00
2017-12-07 14:23:30 -05:00
2018-03-28 01:39:02 -04:00
2018-01-29 07:27:24 -08:00
2018-02-15 15:34:42 -05:00