Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758996AbYFLTU6 (ORCPT ); Thu, 12 Jun 2008 15:20:58 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753959AbYFLTUu (ORCPT ); Thu, 12 Jun 2008 15:20:50 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:56815 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754080AbYFLTUt (ORCPT ); Thu, 12 Jun 2008 15:20:49 -0400 Date: Thu, 12 Jun 2008 12:20:09 -0700 From: Andrew Morton To: Manfred Spraul Cc: penberg@cs.helsinki.fi, Nadia.Derbey@bull.net, linux-kernel@vger.kernel.org, linux-mm@kvack.org, clameter@sgi.com Subject: Re: repeatable slab corruption with LTP msgctl08 Message-Id: <20080612122009.f4d3a82a.akpm@linux-foundation.org> In-Reply-To: <48517456.5000901@colorfullife.com> References: <20080611221324.42270ef2.akpm@linux-foundation.org> <48516BF3.8050805@colorfullife.com> <20080612114152.18895d6c.akpm@linux-foundation.org> <48517456.5000901@colorfullife.com> X-Mailer: Sylpheed version 2.2.4 (GTK+ 2.8.20; i486-pc-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: 1144 Lines: 32 On Thu, 12 Jun 2008 21:09:10 +0200 Manfred Spraul wrote: > Either someone does a set_bit() or your cpu is breaking down. Well. It is about ten years old. But this is the first sign of a problem and it's always msgctl08. > From looking at the the msgctl08 test: it shouldn't produce any races, > it just does lots of bulk msgsnd()/msgrcv() operations. Always one > thread sends, one thread receives on each queue. It's probably more a > scheduler stresstest than anything else. > > Attached is a completely untested patch: > - add 8 bytes to each slabp struct: This changes the alignment of the > bufctl entries. > - add a hexdump of the redzone bytes. OK, I'll try that this evening (eight hours hence). I'll also try increasing /proc/sys/kernel/msgmni under 2.6.25. > Andrew: how do you log the oops? > it might scroll of the screen. netconsole-to-disk. -- 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/