Re: [SOLVED + PATCH]: documented Oops running big-endian reiserfs on parisc architecture

From: Ralf Baechle (ralf@uni-koblenz.de)
Date: Mon Sep 03 2001 - 08:14:21 EST


On Mon, Sep 03, 2001 at 02:08:43PM +0200, Ulrich Weigand wrote:

> >From what I recall when we were looking into reiserfs on S/390,
> the core problem was that reiserfs tried to do *atomic* operations
> on non-aligned words. This isn't supported by the hardware on
> S/390 (normal non-aligned accesses just work).
>
> I don't really see how this can be fixed in a trap handler; how
> would the handler guarantee atomicity?

Spinlocks. Now that'd so infinitly ugly that I'd rather fix Reiserfs.
It's another proof that reiserfs design was done without too much
consideration of portability so I speculate we'll continue to see such
bugs.

  Ralf
-
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/



This archive was generated by hypermail 2b29 : Fri Sep 07 2001 - 21:00:20 EST