Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753999Ab1CZTbe (ORCPT ); Sat, 26 Mar 2011 15:31:34 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:41222 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753431Ab1CZTbd (ORCPT ); Sat, 26 Mar 2011 15:31:33 -0400 MIME-Version: 1.0 In-Reply-To: References: <20110324142146.GA11682@elte.hu> <20110324172653.GA28507@elte.hu> <20110324185258.GA28370@elte.hu> <20110324192247.GA5477@elte.hu> <20110326112725.GA28612@elte.hu> <20110326114736.GA8251@elte.hu> <1301161507.2979.105.camel@edumazet-laptop> From: Linus Torvalds Date: Sat, 26 Mar 2011 12:30:36 -0700 Message-ID: Subject: Re: [PATCH] slub: Disable the lockless allocator To: Christoph Lameter Cc: Eric Dumazet , Ingo Molnar , Pekka Enberg , Thomas Gleixner , akpm@linux-foundation.org, tj@kernel.org, npiggin@kernel.dk, rientjes@google.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1104 Lines: 23 On Sat, Mar 26, 2011 at 12:18 PM, Christoph Lameter 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/