]> git.kernelconcepts.de Git - karo-tx-linux.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)
commitee39b432b4ac083acdafd7b4f156283722e3bf14
treed74c00763ec0145fe39d01e45a47cf0b550099ca
parent5d99a998f375b7bff7ddff0162a6eed4d4ca1318
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