Re: lib/raid6: SSSE3 optimized recovery functions v2
From: NeilBrown <hidden>
Date: 2012-04-12 06:18:16
Also in:
lkml
Attachments
- signature.asc [application/pgp-signature] 828 bytes
From: NeilBrown <hidden>
Date: 2012-04-12 06:18:16
Also in:
lkml
On Wed, 11 Apr 2012 12:40:27 -0700 Jim Kukunas [off-list ref] wrote:
Hi Folks,
The following patchset adds SSSE3 optimized recovery
functions to RAID6.
This version differs from version 1, in that:
0) cpu_has_ssse3 is moved to within the #ifdef block
1) the functions are moved into their own file, recov_ssse3.c
2) a superfluous memory load is removed from raid6_2data_recov_ssse3
A technical description of the algorithm can be found
at http://www.kernel.org/pub/linux/kernel/people/hpa/raid6.pdf
Thanks.
Thanks.
Could I trouble you to run 'checkpatch.pl' and fix up some of the more
reasonable complaints?
ERROR: open brace '{' following function declarations go on the next line
#243: FILE: lib/raid6/recov_ssse3.c:28:
+ static const u8 __attribute__((aligned(16))) x0f[16] = {
is clearly bogus, but
WARNING: __aligned(size) is preferred over __attribute__((aligned(size)))
#243: FILE: lib/raid6/recov_ssse3.c:28:
+ static const u8 __attribute__((aligned(16))) x0f[16] = {
is probably worth considering, as are some others.
NeilBrown