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

Pekka Enberg
2008-05-28T20:28:00Z

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.