lkml.org 
[lkml]   [2006]   [Jul]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2006-07-19 12:39    [W:0.039 / U:0.760 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site