]> git.karo-electronics.de Git - karo-tx-linux.git/commit
bcache: Delete some slower inline asm
authorKent Overstreet <kmo@daterainc.com>
Thu, 22 Aug 2013 01:36:45 +0000 (18:36 -0700)
committerKent Overstreet <kmo@daterainc.com>
Wed, 11 Sep 2013 02:08:28 +0000 (19:08 -0700)
commit27698d6fbb5025c8a4427a7a50df9182dd5326b1
tree4ec6189b48b673cec79fff20f19e4c1689fb24cf
parent78fe037441bc841e6699241f6855ec61e588325f
bcache: Delete some slower inline asm

Never saw a profile of bset_search_tree() where it wasn't bottlenecked
on memory until I got my new Haswell machine, but when I tried it there
it was suddenly burning 20% of the cpu in the inner loop on shrd...

Turns out, the version of shrd that takes 64 bit operands has a 9 cycle
latency. hah.

Signed-off-by: Kent Overstreet <kmo@daterainc.com>
drivers/md/bcache/bset.c