Messages in this thread | | | Date | Fri, 27 Mar 2020 10:52:42 -0600 | From | Jonathan Corbet <> | Subject | Re: [PATCH v2] Documentation: x86: exception-tables: document CONFIG_BUILDTIME_TABLE_SORT |
| |
On Thu, 26 Mar 2020 17:09:51 -0700 Nick Desaulniers <ndesaulniers@google.com> wrote:
> Provide more information about __ex_table sorting post link. > > The exception tables and fixup tables use a commonly recurring pattern > in the kernel of storing the address of labels as date in custom ELF > sections, then finding these sections, iterating elements within them, > and possibly revisiting them or modifying the data at these addresses. > > Sorting readonly arrays to minimize runtime penalties is quite clever. > > Suggested-by: H. Peter Anvin <hpa@zytor.com> > Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
I've applied this, thanks.
jon
| |