Messages in this thread | | | Date | Wed, 19 Jul 2006 13:35:27 +0300 | From | "Pekka Enberg" <> | Subject | Re: Improvement on memory subsystem |
| |
On 7/19/06, yunfeng zhang <zyf.zeroos@gmail.com> 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |