From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753955AbXDDSdq (ORCPT ); Wed, 4 Apr 2007 14:33:46 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753971AbXDDSdN (ORCPT ); Wed, 4 Apr 2007 14:33:13 -0400 Received: from netops-testserver-4-out.sgi.com ([192.48.171.29]:43442 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753943AbXDDSJT (ORCPT ); Wed, 4 Apr 2007 14:09:19 -0400 Date: Wed, 4 Apr 2007 11:09:14 -0700 (PDT) From: Christoph Lameter X-X-Sender: clameter@schroedinger.engr.sgi.com To: Badari Pulavarty cc: Andrew Morton , lkml Subject: Re: 2.6.21-rc5-mm4 (SLUB) In-Reply-To: <1175709755.6185.34.camel@dyn9047017100.beaverton.ibm.com> Message-ID: References: <20070402224745.71a25af7.akpm@linux-foundation.org> <1175637332.6185.4.camel@dyn9047017100.beaverton.ibm.com> <1175642398.6185.9.camel@dyn9047017100.beaverton.ibm.com> <1175643507.6185.12.camel@dyn9047017100.beaverton.ibm.com> <1175644314.6185.18.camel@dyn9047017100.beaverton.ibm.com> <1175698437.6185.21.camel@dyn9047017100.beaverton.ibm.com> <1175709755.6185.34.camel@dyn9047017100.beaverton.ibm.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 4 Apr 2007, Badari Pulavarty wrote: > free. Any ideas on how I can track down easily ? Is there > a way to store last allocated (function, line#) and look > around there ? Also you may want to switch off slab merging. That will allow you to determine the cache involved if its not a kmalloc alloc and the slab was merged. Note that switching off merging may seem to cure the problem because the object was corrupted after allocation and then the slab was never touched again. It may surface only if its merged because merging creates more activity on the slabs that will expose the problem.