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

From: H. Peter Anvin
Date: Thu Apr 19 2012 - 13:03:22 EST


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.

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