Re: [PATCH RFC 1/5] scripts: Add sortextable to sort the kernel's exception table.
From: "H. Peter Anvin" <hpa@kernel.org>
Date: 2011-11-20 23:28:03
Also in:
linux-mips, lkml
From: "H. Peter Anvin" <hpa@kernel.org>
Date: 2011-11-20 23:28:03
Also in:
linux-mips, lkml
On 11/20/2011 03:26 PM, H. Peter Anvin wrote:
On 11/18/2011 11:37 AM, David Daney wrote:quoted
From: David Daney <redacted> Using this build-time sort saves time booting as we don't have to burn cycles sorting the exception table.If we're going to do this at build time, I would suggest using a collisionless hash instead. The lookup time for those are O(1), but they definitely need to be done at build time.
I have some code for generating these kinds of tables, they just need to be hooked up. I will dig it up later today or tomorrow. -hpa