lkml.org 
[lkml]   [2001]   [Sep]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [SOLVED + PATCH]: documented Oops running big-endian reiserfs on parisc architecture
On Tue, 4 Sep 2001, Ulrich Weigand wrote:

>
> Jeff Mahoney wrote:
>
> > Are the S/390 asm/unaligned.h versions broken, or is the ReiserFS code
> doing
> > something not planned for? It's a 16-bit member, at a 16-bit alignment
> > in the structure. The structure itself need not be aligned in any
> > particular manner as it is read directly from disk, and is a packed
> structure.
>
> The S/390 unaligned.h macros are just direct assignments because the
> S/390 hardware normally *allows* unaligned accesses just fine.
>
> It is only *atomic* accesses (those implemented using the S/390
> compare-and-swap instruction) that need to be word aligned; this includes
> the atomic bit operations that reiserfs appears to be using.

Aren't their some other "must align" instructions like CVB? Or have they
all been relaxed...

john

-
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-03-22 13:02    [W:0.047 / U:1.388 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site