Re: [RFC] [patch 1/2] add non_init_kernel_text_address

From: Srinivasa Ds
Date: Tue Jan 01 2008 - 02:05:48 EST


Rusty Russell wrote:


Subject: Don't report discarded init pages as kernel text.

Current code could cause a bug in symbol_put_addr() if an arch used
kmalloc module text: we might think the symbol belongs to the core
kernel.

The downside is that this might make backtraces through (discarded)
init functions harder to read on some archs, but we already have that
issue for modules and noone has complained.


Thanks Rusty, This patch fixes my problem.
Tested-by: Srinivasa DS <srinivasa@xxxxxxxxxx>




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