lkml.org 
[lkml]   [2008]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [2/2] vmallocinfo: Add caller information

* Christoph Lameter <clameter@sgi.com> wrote:

> Add caller information so that /proc/vmallocinfo shows where the
> allocation request for a slice of vmalloc memory originated.

please use one simple save_stack_trace() instead of polluting a dozen
architectures with:

> - return __ioremap(phys_addr, size, IOR_MODE_UNCACHED);
> + return __ioremap_caller(phys_addr, size, IOR_MODE_UNCACHED,
> + __builtin_return_address(0));

Ingo


\
 
 \ /
  Last update: 2008-03-20 00:19    [from the cache]
©2003-2011 Jasper Spaans