Re: [PATCH 1/4] slub: automatically reserve bytes at the end ofslab
From: Christoph Lameter
Date: Tue Mar 08 2011 - 13:24:20 EST
On Tue, 1 Mar 2011, Lai Jiangshan wrote:
> So we add a field "reserved" to struct kmem_cache, when a slab
> is allocated, kmem_cache->reserved bytes are automatically reserved
> at the end of the slab for slab's metadata.
The reserved field should be exported via sysfs. Please add the code to
show it in /sys/kernel/slab/<name>
--
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/