diff options
author | Nick Desaulniers <ndesaulniers@google.com> | 2020-03-26 17:09:51 -0700 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2020-03-27 10:50:01 -0600 |
commit | abcb1e021ae5a36374c635eeaba5cec733169b78 (patch) | |
tree | 9a227dcb9b995a304d562649f246d982e7e7ebdc /lib/locking-selftest-wlock.h | |
parent | 19e91e543c82c5d7c5f0f1820ed60af1e88956e6 (diff) | |
download | lwn-abcb1e021ae5a36374c635eeaba5cec733169b78.tar.gz lwn-abcb1e021ae5a36374c635eeaba5cec733169b78.zip |
Documentation: x86: exception-tables: document CONFIG_BUILDTIME_TABLE_SORTdocs-5.7
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>
Link: https://lore.kernel.org/r/20200327000951.84071-1-ndesaulniers@google.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'lib/locking-selftest-wlock.h')
0 files changed, 0 insertions, 0 deletions