Re: [PATCH 2/5] Btrfs: add branch prediction hints in the read page end IO function

2013-07-12 Thread David Sterba
On Thu, Jul 11, 2013 at 10:31:22AM -0400, Chris Mason wrote: Do you have benchmark numbers for how much these help? I hesitate to bring in the likely/unlikely unless we can see it on the benchmarks. Seconded, I doubt that this particular function gets any measurable speed improvement with the

Re: [PATCH 2/5] Btrfs: add branch prediction hints in the read page end IO function

2013-07-11 Thread Chris Mason
Do you have benchmark numbers for how much these help? I hesitate to bring in the likely/unlikely unless we can see it on the benchmarks. (The patch does look fine though) -chris -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to

[PATCH 2/5] Btrfs: add branch prediction hints in the read page end IO function

2013-07-10 Thread Miao Xie
Signed-off-by: Miao Xie mi...@cn.fujitsu.com --- fs/btrfs/extent_io.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c index 4bfbcc5..c9b28cf 100644 --- a/fs/btrfs/extent_io.c +++ b/fs/btrfs/extent_io.c @@ -2503,7