login
Header Space

 
 

Re: [2/2] vmallocinfo: Add caller information

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Arjan van de Ven <arjan@...>
Cc: Ingo Molnar <mingo@...>, <akpm@...>, <linux-mm@...>, <linux-kernel@...>, Linus Torvalds <torvalds@...>, Peter Zijlstra <a.p.zijlstra@...>
Date: Tuesday, April 29, 2008 - 2:49 pm

On Mon, 28 Apr 2008, Arjan van de Ven wrote:


Hmmm... Why do we have CONFIG_FRAMEPOINTER then?

The current implementation of vmalloc_caller() follows what we have done 
with kmalloc_track_caller. Its low overhead and always on.

It would be great if we could have stacktrace support both for kmalloc and 
vmalloc in the same way also with low overhead but I think following a 
backtrace requires much more than simply storing the caller address. A 
mechanism like that would require an explicit kernel CONFIG option. A 
year or so ago we had patches to implement stacktraces in the slab 
allocators but they were not merged due to various arch specific issues 
with backtraces.

We could dump the offending x86_64 pieces. Some detail of what
/proc/vmallocinfo would be lost then.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[2/2] vmallocinfo: Add caller information, Christoph Lameter, (Tue Mar 18, 6:27 pm)
Re: [2/2] vmallocinfo: Add caller information, Ingo Molnar, (Tue Apr 29, 4:48 am)
Re: [2/2] vmallocinfo: Add caller information, Christoph Lameter, (Tue Apr 29, 1:08 pm)
Re: [2/2] vmallocinfo: Add caller information, Arjan van de Ven, (Mon Apr 28, 3:48 pm)
Re: [2/2] vmallocinfo: Add caller information, Christoph Lameter, (Tue Apr 29, 2:49 pm)
Re: [2/2] vmallocinfo: Add caller information, Arjan van de Ven, (Mon Apr 28, 5:00 pm)
Re: [2/2] vmallocinfo: Add caller information, Christoph Lameter, (Tue Apr 29, 3:09 pm)
Re: [2/2] vmallocinfo: Add caller information, Ingo Molnar, (Tue Apr 29, 3:29 pm)
Re: [2/2] vmallocinfo: Add caller information, Pekka Enberg, (Tue Apr 29, 3:23 pm)
Re: [2/2] vmallocinfo: Add caller information, Pekka Enberg, (Tue Apr 29, 3:29 pm)
Re: [2/2] vmallocinfo: Add caller information, Ingo Molnar, (Wed Mar 19, 5:42 pm)
Re: [2/2] vmallocinfo: Add caller information, Christoph Lameter, (Wed Mar 19, 8:03 pm)
Re: [2/2] vmallocinfo: Add caller information, Ingo Molnar, (Fri Mar 21, 7:00 am)
Re: [2/2] vmallocinfo: Add caller information, Christoph Lameter, (Fri Mar 21, 1:35 pm)
Re: [2/2] vmallocinfo: Add caller information, Ingo Molnar, (Fri Mar 21, 2:45 pm)
Re: [2/2] vmallocinfo: Add caller information, Christoph Lameter, (Fri Mar 21, 3:16 pm)
Re: [2/2] vmallocinfo: Add caller information, Ingo Molnar, (Fri Mar 21, 4:55 pm)
Re: [2/2] vmallocinfo: Add caller information, Mike Frysinger, (Fri Mar 21, 10:40 pm)
speck-geostationary