]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: optimize ext4_check_dir_entry() with unlikely() annotations
authorTheodore Ts'o <tytso@mit.edu>
Mon, 20 Dec 2010 03:07:02 +0000 (22:07 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 20 Dec 2010 03:07:02 +0000 (22:07 -0500)
commitcc9e37c508977e5c5a43b7912313551ea78e0861
tree02ec7c4959f5506f0b2fe128b1318e257ee6f0e4
parent06c9c5ec12026707ff9a129f547c14eff9eb372a
ext4: optimize ext4_check_dir_entry() with unlikely() annotations

This function gets called a lot for large directories, and the answer
is almost always "no, no, there's no problem".  This means using
unlikely() is a good thing.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/dir.c
fs/ext4/ext4.h
fs/ext4/namei.c