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

From: Christoph Lameter
Date: Wed May 28 2008 - 16:29:18 EST


On Wed, 28 May 2008, Pekka Enberg wrote:

> Christoph Lameter wrote:
> > > We use kobjsize() for pointers returned from do_mmap() which is why I kept
> > > the
> > > page->index case. Are we using PageCompound for those as well?
> >
> > What does do_mmap have to do with page->index?
>
> I don't know how the nommu code is supposed to work. I simply assumed it has a
> reason for being there and that compound_order() is not enough to handle that.

Could the nommu people either tell us what this is all about? Or junk the
code. This looks very wrong.

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