Re: [PATCH] slab: Ignore internal flags in cache creation
From: David Rientjes
Date: Fri Sep 28 2012 - 16:40:00 EST
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. ]
--
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/