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

From: Pekka Enberg
Date: Tue Apr 29 2008 - 15:23:21 EST


On Tue, Apr 29, 2008 at 10:09 PM, Christoph Lameter <clameter@xxxxxxx> wrote:
> Well so we display out of whack backtraces? There are also issues on
> platforms that do not have a stack in the classic sense (rotating register
> file on IA64 and Sparc64 f.e.). Determining a backtrace can be very
> expensive.

I think that's the key question here whether we need to enable this on
production systems? If yes, why? If it's just a debugging aid, then I
see Ingo's point of save_stack_trace(); otherwise the low-overhead
__builtin_return_address() makes more sense.

And btw, why is this new file not in /sys/kernel....?
--
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/