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    [W:0.122 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site