Re: [RFC][PATCH 2/9] mm: slub: abstract out double cmpxchg option

From: David Rientjes
Date: Tue Jan 14 2014 - 21:37:56 EST


On Tue, 14 Jan 2014, Dave Hansen wrote:

> > On Tue, 14 Jan 2014, Dave Hansen wrote:
> >> I found this useful to have in my testing. I would like to have
> >> it available for a bit, at least until other folks have had a
> >> chance to do some testing with it.
> >
> > I dont really see the point of this patch since we already have
> > CONFIG_HAVE_ALIGNED_STRUCT_PAGE to play with.
>
> With the current code, if you wanted to turn off the double-cmpxchg abd
> get a 56-byte 'struct page' how would you do it? Can you do it with a
> .config, or do you need to hack the code?
>

If that's the intention of disabling this new config option, then it
should probably mention the savings in the "help" section, similar to what
CONFIG_HAVE_ALIGNED_STRUCT_PAGE says.
--
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/