Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759191AbYFLKZm (ORCPT ); Thu, 12 Jun 2008 06:25:42 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755339AbYFLKZe (ORCPT ); Thu, 12 Jun 2008 06:25:34 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:49094 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755070AbYFLKZd (ORCPT ); Thu, 12 Jun 2008 06:25:33 -0400 Date: Thu, 12 Jun 2008 03:24:42 -0700 From: Andrew Morton To: Andi Kleen Cc: Nadia Derbey , Manfred Spraul , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Pekka Enberg Subject: Re: repeatable slab corruption with LTP msgctl08 Message-Id: <20080612032442.930e62e4.akpm@linux-foundation.org> In-Reply-To: <87mylrnj84.fsf@basil.nowhere.org> References: <20080611221324.42270ef2.akpm@linux-foundation.org> <20080611233449.08e6eaa0.akpm@linux-foundation.org> <20080612010200.106df621.akpm@linux-foundation.org> <20080612011537.6146c41d.akpm@linux-foundation.org> <87mylrnj84.fsf@basil.nowhere.org> X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.5; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1047 Lines: 32 On Thu, 12 Jun 2008 10:35:55 +0200 Andi Kleen wrote: > BTW a great way to debug slab corruptions with LTP faster is to run with > a slab thrasher stress module like http://firstfloor.org/~andi/crasher-26.diff Well I tried that. It didn't actually seem to do much (no CPU time consumed) so I revved it up a bit: --- a/drivers/char/crasher.c~crasher-26-speedup +++ a/drivers/char/crasher.c @@ -59,7 +59,7 @@ struct mem_buf { static unsigned long crasher_random(void) { rand_seed = rand_seed*69069L+1; - return rand_seed^jiffies; + return (rand_seed^jiffies) & 3; } void crasher_srandom(unsigned long entropy) _ But it hasn't crashed after 57 minutes. I don't think that is how we should fix this bug ;) I'm pretty much out of time on this one. -- 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/