lkml.org 
[lkml]   [2012]   [Sep]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] slab: Ignore internal flags in cache creation
On Fri, 28 Sep 2012, Christoph Lameter wrote:

> > For context, as many people who attended the kernel summit and LinuxCon
> > are aware, a new slab allocator is going to be proposed soon that actually
> > uses additional bits that aren't defined for all slab allocators. My
> > opinion is that leaving unused bits and reserved bits to the
> > implementation is the best software engineering practice.
>
> Could you please come out with the new allocator and post some patchsets?
>
> We can extend the number of flags reserved if necessary but we really need
> to see the source for that.
>

The first prototype, SLAM XP1, will be posted in October. I'd simply like
to avoid reverting this patch down the road and having all of us
reconsider the topic again when clear alternatives exist that, in my
opinion, make the code cleaner.

[ There _was_ a field for internal flags for mm/slab.c, called "dflags",
before I removed it because it was unused; I'm regretting that now
because it would have been very easy to use it for this purpose. ]


\
 
 \ /
  Last update: 2012-09-29 00:41    [W:0.077 / U:1.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site