lkml.org 
[lkml]   [2008]   [May]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] nommu: fix kobjsize() for SLOB and SLUB
On Wed, 28 May 2008, David Howells wrote:

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

Right. SLAB/SLUB align to long long. SLOB needs to do the same.




\
 
 \ /
  Last update: 2008-05-28 19:29    [W:0.618 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site