Hello!
> Packing doesn't look right to me, as misaligning the array and the
> lock (for SMP) is performance-unfriendly. Reordering could help, like
> this:
This helps only to hide the bug, it will jump out in another place.
Please, _note_ that difference in rwlock_t is even not an alignment problem.
I am sorry, gentlemen, but you have to compile all the kernel
with uniform options and with one flavor of compiler, if this choice
really introduces difference in structures: that's right fix.
Alexey
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:22 EST