[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0805281026210.22589@schroedinger.engr.sgi.com>
Date: Wed, 28 May 2008 10:26:51 -0700 (PDT)
From: Christoph Lameter <clameter@....com>
To: David Howells <dhowells@...hat.com>
cc: Pekka J Enberg <penberg@...helsinki.fi>, mpm@...enic.com,
lethal@...ux-sh.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] nommu: fix kobjsize() for SLOB and SLUB
On Wed, 28 May 2008, David Howells wrote:
> David Howells <dhowells@...hat.com> wrote:
>
> > Works for SLAB and SLUB. SLOB breaks well before getting to anything these
> > patches affect.
>
> Okay... The problem with SLOB is that it can return large objects (8Kb in this
> case) that aren't 8-byte aligned. This screws up FRV as it expects to be able
> to use load and store-double instructions, which fault if they don't get
> 8-byte (double register) alignment.
Right. SLAB/SLUB align to long long. SLOB needs to do the same.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists