Re: [PATCH] extable cleanup

From: Linus Torvalds (torvalds@transmeta.com)
Date: Fri Jan 03 2003 - 13:41:41 EST


On Fri, 3 Jan 2003, Rusty Russell wrote:
>
> Fairly straightforward consolidation of extable handling. Sparc64 is
> trickiest, with its extable range stuff (ideally, the ranges would be
> in a separate __extable_range section, then the extable walking code
> could be made common, too).
>
> Only tested on x86: ppc and sparc64 written untested, others broken.

Did you test on a true i386, which needs exception handling very early on
to handle the test for broken WP? In other words, are all the exception
table data structures properly initialized?

And did you check that an oops in the init handling works correctly before
the kallsyms table has been initialized? That "initcall(symbol_init)"
makes me suspect it won't..

There was a reason why "extable_init()" was in init/main.c, and was done
_early_.

                Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jan 07 2003 - 22:00:22 EST