Re: [RFC/PATCH 1/3] SLAB: Add PageSlab checking to ksize()

From: Christoph Lameter
Date: Thu May 22 2008 - 00:17:38 EST


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.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/