Re: [PATCH] slub: Disable the lockless allocator

From: Linus Torvalds
Date: Sat Mar 26 2011 - 15:31:37 EST


On Sat, Mar 26, 2011 at 12:18 PM, Christoph Lameter <cl@xxxxxxxxx> wrote:
>
> Right. RSI should be in the range of the values you printed.
> However, the determination RSI is independent of the emulation of the
> instruction. If RSI is set wrong then we should see these failures on
> machines that do not do the instruction emulation. A kvm run with Ingo's
> config should show the same issues. Will do that now.

I bet it's timing-dependent and/or dependent on some code layout
issue. Why else would the totally pointless previous patch have made
any difference for Ingo (the "SLUB: Write to per cpu data when
allocating it" thing seems to be pure voodoo programming)?

That said, this early in the boot I don't think we should have any
parallelism going on, so I don't see what could make those kinds of
random effects.

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