Re: Improvement on memory subsystem
From: Pekka Enberg
Date: Wed Jul 19 2006 - 06:59:49 EST
On 7/19/06, yunfeng zhang <zyf.zeroos@xxxxxxxxx> wrote:
Here, the off-slab is the same as the off-slab concept of Linux,
doesn't Linux stores bufctl_t array in its off-slab object?
I consider that we should try our best to explore the potential of
page structure. In my OS, page structure is just like a union and is
cast into different types according to its flag field.
The slab allocator currently allocates space for struct slab and the
bufctls next to each other regardless of whether we are allocating
on-slab or off-slab. Your approach of splitting them results in more
data cache pressure for the cache_alloc() path, I think.
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/