lkml.org 
[lkml]   [2005]   [Sep]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: aoe fails on sparc64
From
Date
    David> Although it's very much discouraged to dereference
David> unaligned pointers, especially in performance critical code
David> (which this AOE case is not, thankfully), because
David> performance will be really bad as the trap handler has to
David> fix up the access on RISC platforms.

Also, ia64 has a tendency to print an ugly message in the kernel log
for unaligned accesses. Has anyone tried AoE on ia64?

It might be better to change the AoE code to use get_unaligned(), just
to document what's going on. Although clearly the sparc64 patch is
correct as well -- we should never silently return the wrong data.

- R.
-
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/

\
 
 \ /
  Last update: 2005-09-19 20:31    [W:1.875 / U:0.344 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site