So it would be optimized away if changed to
if ((offsetof(struct task_struct, thread.i387.fxsave) & 15) != 0) {
?
> our argument is that the checking code is not required because
> thread.i387.fxsave is __attribute__ ((aligned (16))). If __attribute__
> ((aligned (...))) is broken, we should see more problems.
I think it would be better to keep the check, even with attribute aligned. These bugs
are nasty to debug when they happen.
-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/