]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: remove unlikely from data-dependent branches and slow paths
authorDavid Sterba <dsterba@suse.cz>
Mon, 29 Sep 2014 23:33:33 +0000 (01:33 +0200)
committerDavid Sterba <dsterba@suse.cz>
Thu, 2 Oct 2014 14:15:21 +0000 (16:15 +0200)
commit5000a8dfade8a965fe7a42ced7b358c190284b9d
treed74c00763ec0145fe39d01e45a47cf0b550099ca
parentf96e49e6fd89939404b4d8e49bba76befe8c5c6c
btrfs: remove unlikely from data-dependent branches and slow paths

There are the branch hints that obviously depend on the data being
processed, the CPU predictor will do better job according to the actual
load. It also does not make sense to use the hints in slow paths that do
a lot of other operations like locking, waiting or IO.

Signed-off-by: David Sterba <dsterba@suse.cz>
fs/btrfs/extent-tree.c
fs/btrfs/file.c
fs/btrfs/inode.c
fs/btrfs/ioctl.c
fs/btrfs/transaction.c