[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080421135052.GL9554@elte.hu>
Date: Mon, 21 Apr 2008 15:50:53 +0200
From: Ingo Molnar <mingo@...e.hu>
To: Christoph Lameter <clameter@....com>
Cc: Pekka J Enberg <penberg@...helsinki.fi>,
linux-kernel@...r.kernel.org,
James Bottomley <James.Bottomley@...senPartnership.com>
Subject: Re: [bug] SCSI/SLUB - latest -git: WARNING: at mm/slub.c:2443
kmem_cache_destroy, scsi_put_host_cmd_pool()
* Christoph Lameter <clameter@....com> wrote:
> On Sat, 19 Apr 2008, Pekka J Enberg wrote:
>
> > > [a few .config options were turned off: just accept all the defaults
> > > after 'make oldconfig']
> >
> > I couldn't spot anything in particular in SLUB which makes me think
> > SCSI code simply didn't free all objects before
> > scsi_put_host_cmd_pool() called kmem_cache_destroy() to kill the
> > cache.
> >
> > James, does this make sense or should I just look at SLUB harder?
>
> The WARN is intended to warn that a kmem_cache_destroy was run with
> objects not freed.
i suspect if that warn-on triggers more frequently then it might make
sense to turn it into a pretty SLUB warning about that cache, with a
stackdump at the end. (that way people are not tricked into mistakenly
believing that it's a SLUB bug)
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists