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

From: Ingo Molnar
Date: Wed Mar 19 2008 - 19:16:58 EST



* Christoph Lameter <clameter@xxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/