Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

vfs: drop conditional inode prefetch in __do_lookup_rcu

It seems to hurt performance in real life. Yes, the inode will be used
later, but the conditional doesn't seem to predict all that well
(negative dentries are not uncommon) and it looks like the cost of
prefetching is simply higher than depending on the cache doing the right
thing.

As usual.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

-2
-2
fs/dcache.c
··· 1813 1813 tname = dentry->d_name.name; 1814 1814 i = dentry->d_inode; 1815 1815 prefetch(tname); 1816 - if (i) 1817 - prefetch(i); 1818 1816 /* 1819 1817 * This seqcount check is required to ensure name and 1820 1818 * len are loaded atomically, so as not to walk off the