lkml.org 
[lkml]   [2008]   [May]   [22]   [last100]   RSS Feed
Views: [more markup]   [less markup]   [headers]   [forward]  
 
Messages in this thread
/
DateWed, 21 May 2008 21:17:24 -0700 (PDT)
FromChristoph Lameter <>
SubjectRe: [RFC/PATCH 1/3] SLAB: Add PageSlab checking to ksize()
On Thu, 22 May 2008, Pekka Enberg wrote:

> Paul Mundt wrote:
> > This series seems to work ok with all of SLAB/SLUB/SLOB when also
> > applying the kobjsize() patch. Without the kobjsize() patch in place,
> > SLAB and SLUB both work, while SLOB still triggers the >= MAX_ORDER
> > BUG_ON() for page cache pages. Note that this is still an improvement
> > over SLUB blowing up, as it was before, even without the kobjsize()
> > change.
> 
> That's probably due to the fact that we use PageSlab for all pages with SLUB
> and for bigblock pages in SLOB with this patch. Christoph, Matt, any
> suggestions how to fix the PageSlab check in nommu btw?

I already posted a patch and commented numerous times. What else needs 
to be said? SLUB only uses PageSlab for kmalloc <=4kb.




\
 
 \ /
  Last update: 2008-05-22 06:19    [from the cache]
©2003-2008