summaryrefslogtreecommitdiffstats
path: root/fs/fat
diff options
context:
space:
mode:
authorAlexey Dobriyan2018-06-15 00:27:17 +0200
committerLinus Torvalds2018-06-15 00:55:24 +0200
commit26b95137d673d8d6a9a124d433d968e18298f4ed (patch)
tree1f31d199ff9290dbd082a2559731fb6fce193edc /fs/fat
parentmremap: remove LATENCY_LIMIT from mremap to reduce the number of TLB shootdowns (diff)
downloadkernel-qcow2-linux-26b95137d673d8d6a9a124d433d968e18298f4ed.tar.gz
kernel-qcow2-linux-26b95137d673d8d6a9a124d433d968e18298f4ed.tar.xz
kernel-qcow2-linux-26b95137d673d8d6a9a124d433d968e18298f4ed.zip
proc: skip branch in /proc/*/* lookup
Code is structured like this: for ( ... p < last; p++) { if (memcmp == 0) break; } if (p >= last) ERROR OK gcc doesn't see that if if lookup succeeds than post loop branch will never be taken and skip it. [akpm@linux-foundation.org: proc_pident_instantiate() no longer takes an inode*] Link: http://lkml.kernel.org/r/20180423213954.GD9043@avx2 Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> 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>
Diffstat (limited to 'fs/fat')
0 files changed, 0 insertions, 0 deletions