Re: [PATCH 3/3] x86, extable: Handle early exceptions

From: H. Peter Anvin
Date: Thu Apr 19 2012 - 19:10:31 EST

On 04/19/2012 03:58 PM, Linus Torvalds wrote:
> In fact, doing an "objdump" on the few modules I have, I didn't find a
> *single* exception table entry. Maybe I did something wrong? Isn't it
> the __ex_table in modules too?

It is, but I suspect a lot of modules don't end up with any exception
table entries, as the common forms of user space access are out of line.

I suspect that just finding the module we're in or not in before
searching its ex_table is probably good enough, but a global hash would
be better. That being said, some distros are complaining about the
amount of time it takes to load modules on boot...


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at