From: Jonathan Corbet <corbet@lwn.net>
To: Nick Desaulniers <ndesaulniers@google.com>
Cc: "H . Peter Anvin" <hpa@zytor.com>,
Thomas Gleixner <tglx@linutronix.de>,
Ingo Molnar <mingo@redhat.com>, Borislav Petkov <bp@alien8.de>,
x86@kernel.org, linux-kernel@vger.kernel.org,
linux-doc@vger.kernel.org
Subject: Re: [PATCH v2] Documentation: x86: exception-tables: document CONFIG_BUILDTIME_TABLE_SORT
Date: Fri, 27 Mar 2020 10:52:42 -0600 [thread overview]
Message-ID: <20200327105242.20a6d20e@lwn.net> (raw)
In-Reply-To: <20200327000951.84071-1-ndesaulniers@google.com>
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
prev parent reply other threads:[~2020-03-27 16:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-23 23:22 [PATCH] Documentation: x86: exception-tables: document CONFIG_BUILDTIME_TABLE_SORT Nick Desaulniers
2020-03-24 0:41 ` H. Peter Anvin
2020-03-27 0:09 ` [PATCH v2] " Nick Desaulniers
2020-03-27 16:52 ` Jonathan Corbet [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200327105242.20a6d20e@lwn.net \
--to=corbet@lwn.net \
--cc=bp@alien8.de \
--cc=hpa@zytor.com \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=ndesaulniers@google.com \
--cc=tglx@linutronix.de \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).