Messages in this thread | | | Date | Tue, 26 Aug 2014 11:23:59 +0900 | From | Joonsoo Kim <> | Subject | Re: [PATCH 2/3] mm/slab_common: commonize slab merge logic |
| |
On Mon, Aug 25, 2014 at 10:27:58AM -0500, Christoph Lameter wrote: > On Thu, 21 Aug 2014, Joonsoo Kim wrote: > > > +static int __init setup_slab_nomerge(char *str) > > +{ > > + slab_nomerge = 1; > > + return 1; > > +} > > +__setup("slub_nomerge", setup_slab_nomerge); > > Uhh.. You would have to specify "slub_nomerge" to get slab to not merge > slab caches?
Should fix it. How about following change?
#ifdef CONFIG_SLUB __setup("slub_nomerge", setup_slab_nomerge); #endif
__setup("slab_nomerge", setup_slab_nomerge);
This makes "slab_nomerge" works for all SL[aou]B.
Thanks.
| |