Re: [PATCH] nommu: fix kobjsize() for SLOB and SLUB

David Howells
2008-05-28T14:10:13Z

David Howells <dhowells@redhat.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.

David