Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756004Ab1EDWBZ (ORCPT ); Wed, 4 May 2011 18:01:25 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:49342 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755812Ab1EDWBX (ORCPT ); Wed, 4 May 2011 18:01:23 -0400 MIME-Version: 1.0 In-Reply-To: <4DC1CAB8.5080305@candelatech.com> References: <20110504083559.GB25724@elte.hu> <20110504101932.GA3392@elte.hu> <20110504112746.GE8007@htj.dyndns.org> <20110504132022.GA17294@htj.dyndns.org> <20110504141413.GA14127@elte.hu> <20110504143616.GA19986@elte.hu> <4DC1CAB8.5080305@candelatech.com> From: Linus Torvalds Date: Wed, 4 May 2011 15:00:35 -0700 Message-ID: Subject: Re: [PATCH] slub: Fix the lockless code on 32-bit platforms with no 64-bit cmpxchg To: Ben Greear Cc: Ingo Molnar , Thomas Gleixner , Tejun Heo , Pekka Enberg , Jens Axboe , Andrew Morton , werner , "H. Peter Anvin" , Linux Kernel Mailing List , Christoph Lameter 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: 1306 Lines: 31 On Wed, May 4, 2011 at 2:52 PM, Ben Greear wrote: > > This patch appears to fix the crashes I was seeing on my 32-bit > Atom system. > > It would crash within 30 seconds of booting every time before this patch... Oh, well - I already committed it and pushed out, otherwise I'd have added that piece of information to the commit log. But it's good to know that others had seen this too, just never realized what was going on. Btw, that does seem to imply that your kernel config is somewhat odd. We _should_ be using cmpxchg8b natively if you compile for anything newer than PPro, and that includes atom. Did you perhaps say "compile for Pentium" (which is pretty close to Atom in some respects - but we don't trust that all Pentium-class CPU's have cmpxchg8b, even if the Intel ones all should). Regardless, it's pushed out and should be in current -git, apart from any possible mirroring delays there may be that may b eholdin git up from actually being visible on the public kernel.org machines yet. 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/