[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Sat, 7 Jul 2007 16:38:43 -0700 (PDT)
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Christoph Lameter <clameter@....com>
cc: Michal Piotrowski <michal.k.k.piotrowski@...il.com>,
David Woodhouse <dwmw2@...radead.org>,
Andrew Morton <akpm@...ux-foundation.org>,
LKML <linux-kernel@...r.kernel.org>,
Adrian Bunk <bunk@...sta.de>,
Patrick Caulfield <pcaulfie@...hat.com>,
David Teigland <teigland@...hat.com>,
bluez-devel@...ts.sourceforge.net,
Marcel Holtmann <marcel@...tmann.org>,
Jiri Kosina <jkosina@...e.cz>,
Dmitry Torokhov <dtor@...ightbb.com>
Subject: Re: 2.6.22-rc7: known regressions with patches v2
On Sat, 7 Jul 2007, Christoph Lameter wrote:
>
> What are these functions "malloc" and "free"? Would be good if those
> would be using kmalloc_track_caller() so that we can figure out who called
> them.
There's not a lot of those around. Looks like it's probably one of
init/do_mounts_rd.c:static void __init *malloc(size_t size)
init/initramfs.c:static void __init *malloc(size_t size)
both of which exist just because those things include "lib/inflate.c".
It's probably do_mounts_rd.c, because initramfs.c defines malloc/free
before the #include, and I would have expected gcc to just inline them in
that case.
That's probably the right thign to do in do_mounts_rd.c too, rather than
adding any kmalloc_track_caller() stuff.
Linus
-
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