Re: readq/writeq on 32bit machines

From: Roland Dreier
Date: Tue May 18 2004 - 20:00:04 EST


Eric> I picked that up out of xor.h where the raid code does
Eric> something similar, so if there is a problem it needs to be
Eric> fixed there as well.

OK, I found this in raid6x86.h:

/* On i386, the stack is only 8-byte aligned, but SSE requires 16-byte
alignment. The +3 is so we have the slack space to manually align
a properly-sized area correctly. */

So I guess __attribute__((aligned(8))) is OK on i386, but 16-byte
alignment needs to be handled manually.

By the way, I haven't seen my mails on this thread make it to lkml
(despite having linux-kernel@xxxxxxxxxxxxxxx in my Cc: line).
Obviously they're going out, since you replied to one, but they seem
to be getting eaten somewhere.

Thanks,
Roland
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/