Re: randconfig chosing more than one slab allocator

From: Pekka Enberg
Date: Tue Mar 27 2012 - 06:25:10 EST


On Sun, 11 Mar 2012, David Rientjes wrote:
> > Hi folks,
> >
> > make randconfig seems to allow chosing more than one slab allocator
> > although they are all part of a choice,endchoice block (and none are
> > tristate). The following quickly finds both CONFIG_SLUB and CONFIG_SLOB
> > enabled:
> >
> > $ while [ 1 ]; do make randconfig &> /dev/null; if [ $(grep "CONFIG_SL[OU]B=y" .config | wc -l) == 2 ]; then break; fi; done
> > $ grep CONFIG_SL[OU]B=y .config
> > CONFIG_SLUB=y
> > CONFIG_SLOB=y
>
> Ping on this?

I'm fairly sure this is a kbuild issue and that init/Kconfig is correct.

Pekka
--
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/