lkml.org 
[lkml]   [2020]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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

\
 
 \ /
  Last update: 2020-03-27 17:52    [W:0.065 / U:51.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site