On Wed, 2015-07-29 at 16:54 +0530, Ritesh Raj Sarraf wrote:
> On Sun, 2015-07-26 at 23:01 +0100, Ben Hutchings wrote:
> > > The kernel has a register corruption bug on sparc that is causing
> > corruption
> > > and failed builds. Enabling SLUB instead of SLAB in the kernel is
> > an
> > > effective workaround.
> > [...]
> >
> > For this test case, but probably not in general. I think it's a bad
> > idea to make this change and leave the root cause unfixed. I suggest
> > someone reminds David Miller that this is still open, as I don't see
> > any update to that thread in the last month.
>
> This is the right question for you Ben.
>
> The upstream Kconfig says that SLUB is the default slab allocator of
> choice. Where as in Debian, we choose SLAB as the default.
SLUB developers *wanted* it to be the default.
> My understanding is that the upstream kernel defaults are very
> orthodox, during selection ?
As no default is explicitly specified for this choice, SLAB - being the
first option - is the actual default.
Looking at the in-tree defconfig files, there are:
230 CONFIG_SLAB=y
12 CONFIG_SLOB=y
1 CONFIG_SLUB=y
Ben.
--
Ben Hutchings
If at first you don't succeed, you're doing about average.
Attachment:
signature.asc
Description: This is a digitally signed message part