From: Pekka Enberg <penberg@cs.helsinki.fi>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: Patrick McHardy <kaber@trash.net>,
htmldeveloper@gmail.com, bugme-daemon@bugzilla.kernel.org,
netdev@vger.kernel.org, clameter@sgi.com
Subject: Re: [Bug 10575] New: WARNING: at mm/slub.c:2444
Date: Tue, 29 Apr 2008 22:39:13 +0300 [thread overview]
Message-ID: <48177961.3030204@cs.helsinki.fi> (raw)
In-Reply-To: <20080429123741.bce81cf8.akpm@linux-foundation.org>
Andrew Morton wrote:
> Sorry, I confused it with a similar-looking USB trace. Pekka added some
> additional debug at that site which might help here - it will tell us the
> name of the slab cache:
>
> void kmem_cache_destroy(struct kmem_cache *s)
> {
> down_write(&slub_lock);
> s->refcount--;
> if (!s->refcount) {
> list_del(&s->list);
> up_write(&slub_lock);
> if (kmem_cache_close(s)) {
> printk(KERN_ERR "SLUB %s: %s called for cache that "
> "still has objects.\n", s->name, __func__);
> dump_stack();
> }
> sysfs_slab_remove(s);
> } else
> up_write(&slub_lock);
> }
>
> that was merged into mainline yesterday.
Christoph added even nicer debugging code that dumps the objects in the
cache:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=33b12c38134e95e5afa73214af6f49abd7b8418e
next prev parent reply other threads:[~2008-04-29 19:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <bug-10575-27@http.bugzilla.kernel.org/>
2008-04-29 15:22 ` [Bug 10575] New: WARNING: at mm/slub.c:2444 Andrew Morton
2008-04-29 19:14 ` Patrick McHardy
2008-04-29 19:37 ` Andrew Morton
2008-04-29 19:39 ` Pekka Enberg [this message]
2008-04-29 20:01 ` Pekka Enberg
2008-04-29 23:00 ` Christoph Lameter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48177961.3030204@cs.helsinki.fi \
--to=penberg@cs.helsinki.fi \
--cc=akpm@linux-foundation.org \
--cc=bugme-daemon@bugzilla.kernel.org \
--cc=clameter@sgi.com \
--cc=htmldeveloper@gmail.com \
--cc=kaber@trash.net \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).