Re: [PATCH] CONFIG_UNWIND_INFO

From: Andi Kleen
Date: Fri Jan 20 2006 - 01:12:33 EST


On Fri, Jan 20, 2006 at 03:47:09PM +1100, Paul Mackerras wrote:
> Andi Kleen writes:
>
> > The module loader should be discarding these sections on most architectures
> > because there is nothing that needs them and it's just a waste of memory
> > to store them.
>
> Apparently the module loader loads all sections marked SHF_ALLOC,
> reasonably enough.
>
> Why would we want the unwind tables in the .ko but not in kernel
> memory? Isn't the point of this so that we can add an in-kernel
> unwinder?

For most people so far it was for kgdb where they would be needed
on disk only.

-Andi
-
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/