lib/raid6: sort algos in rough performance order
authorDaniel Verkamp <dverkamp@chromium.org>
Mon, 12 Nov 2018 23:26:51 +0000 (15:26 -0800)
committerShaohua Li <shli@fb.com>
Thu, 20 Dec 2018 16:53:23 +0000 (08:53 -0800)
commit0437de4fa09fe59b57d12b785e4afb73b0f34c05
tree62790298d1b4b31fc33ac70a3bc224abfadeeeed
parent86919f9dd2dbb88bbbe4e381dc8e6b9e9a1b9eb5
lib/raid6: sort algos in rough performance order

Sort the list of RAID6 algorithms in roughly decreasing order of
expected performance: newer instruction sets first (within each
architecture) and wider unrollings first.

This doesn't make any difference right now, since all functions are
benchmarked; a follow-up change will make use of this by optionally
choosing the first valid function rather than testing all of them.

The Itanium raid6_intx{16,32} entries are also moved down to be near the
other raid6_intx entries for clarity.

Signed-off-by: Daniel Verkamp <dverkamp@chromium.org>
Signed-off-by: Shaohua Li <shli@fb.com>
lib/raid6/algos.c