Re: [PATCH 4/8] Cleanup kmem_cache_create()

From: Matthew Dobson
Date: Tue Nov 08 2005 - 14:20:59 EST


Christoph Lameter wrote:
> On Tue, 8 Nov 2005, Matthew Dobson wrote:
>
>
>>>A large object in terms of this patch is a object greater than 4096 bytes
>>>not an object greater than PAGE_SIZE. I think the absolute size is
>>>desired.
>>
>>Would you be OK with at least NAMING the constant? I won't name it
>>PAGE_SIZE (of course), but LARGE_OBJECT_SIZE or something?
>
>
> Ask Manfred about this. I think he coded it that way and he usually has
> good reasons for it.
>
> Thanks for the cleanup work!

Manfred, any reason not to name this constant in slab.c? If there's a good
reason not to, I'm perfectly happy to leave it alone. :)

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