]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: add branch prediction hints in the read page end IO function
authorMiao Xie <miaox@cn.fujitsu.com>
Thu, 25 Jul 2013 11:22:33 +0000 (19:22 +0800)
committerChris Mason <chris.mason@fusionio.com>
Sun, 1 Sep 2013 12:04:32 +0000 (08:04 -0400)
commit9989c95b9c910b315482c7b0d4e48d49a851bd13
tree6b86b60c711d8d874cb321bad816f956edb90de2
parentea031b616eb940e6ce1a07f4256649128b526612
Btrfs: add branch prediction hints in the read page end IO function

This patch add some branch prediction hints into the end IO function
of the read page, it reduced the percentage of the branch misses from
5.5% to 4.9%.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/extent_io.c