> architectures as well; the difference are that:
> - kernels are quiet about that save Alpha
> - on x86 these misaligned accesses are not that costly but elsewhere
> they can be quite a drag.
In the networking code we intentionally take them. Its faster to try to align
(with 99.9something% success) than to always assume the worst. That is quite
common in the kernel - it pays to assume the common good case and only pay
for the rare cases it fails. copy_*_user has the same attitude
Alan
-
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 : Mon Jun 26 2000 - 21:00:06 EST