[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080428140026.32aaf3bf@infradead.org>
Date: Mon, 28 Apr 2008 14:00:26 -0700
From: Arjan van de Ven <arjan@...radead.org>
To: Christoph Lameter <clameter@....com>
Cc: Ingo Molnar <mingo@...e.hu>, akpm@...ux-foundation.org,
linux-mm@...ck.org, linux-kernel@...r.kernel.org,
Linus Torvalds <torvalds@...ux-foundation.org>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>
Subject: Re: [2/2] vmallocinfo: Add caller information
On Tue, 29 Apr 2008 11:49:54 -0700 (PDT)
Christoph Lameter <clameter@....com> wrote:
> On Mon, 28 Apr 2008, Arjan van de Ven wrote:
>
> > > Sorry lost track of this issue. Adding stracktrace support is not
> > > a trivial thing and will change the basic handling of vmallocinfo.
> > >
> > > Not sure if stacktrace support can be enabled without a penalty on
> > > various platforms. Doesnt this require stackframes to be
> > > formatted in a certain way?
> >
> > it doesn't.
>
> Hmmm... Why do we have CONFIG_FRAMEPOINTER then?
to make the backtraces more accurate.
> The current implementation of vmalloc_caller() follows what we have
> done with kmalloc_track_caller. Its low overhead and always on.
stacktraces aren't entirely free, the cost is O(nr of modules) unfortunately ;(
--
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