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

H. Peter Anvin
2012-04-19T17:03:25Z

On 04/19/2012 02:26 AM, Borislav Petkov wrote:
>
> Also, move the sorting of the main exception table earlier in the boot
> process now that we handle exceptions in the early IDT handler too.
>

I would much rather use David Daney's patchset to sort the exception
table at compile time:

https://lkml.org/lkml/2011/11/18/427

... and I would be *even happier* with an O(1) hash (which pretty much
*have* to be constructed at compile time.)

-hpa

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.