[lkml]   [2020]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v2] Documentation: x86: exception-tables: document CONFIG_BUILDTIME_TABLE_SORT
On Thu, 26 Mar 2020 17:09:51 -0700
Nick Desaulniers <> 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 <>
> Signed-off-by: Nick Desaulniers <>

I've applied this, thanks.


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