]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: use unlikely to improve the efficiency of the kernel
authorWang Shilong <wangsl-fnst@cn.fujitsu.com>
Sat, 12 Jan 2013 21:28:47 +0000 (16:28 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 12 Jan 2013 21:28:47 +0000 (16:28 -0500)
commit7e1c28c47bbd42db7ebfe747b095d8ad80019a75
tree7f884e64b000d9bed3a59dd557b3075a2da4405d
parent845aec461ad25ffefa7b25e0dc5f0a9c8a4de444
ext4: use unlikely to improve the efficiency of the kernel

Because the function 'sb_getblk' seldomly fails to return NULL
value,it will be better to use 'unlikely' to optimize it.

Signed-off-by: Wang Shilong <wangsl-fnst@cn.fujitsu.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/extents.c
fs/ext4/inode.c
fs/ext4/mmp.c
fs/ext4/resize.c
fs/ext4/xattr.c