[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAK7LNARBrc=JvGr-TA9BDB7KOeOycKVBoWJUkSEgQbdhpUk+ew@mail.gmail.com>
Date: Fri, 23 Feb 2024 21:33:44 +0900
From: Masahiro Yamada <masahiroy@...nel.org>
To: Jann Horn <jannh@...gle.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>, Nick Desaulniers <ndesaulniers@...gle.com>,
Miguel Ojeda <ojeda@...nel.org>, Zhen Lei <thunder.leizhen@...wei.com>,
Arnd Bergmann <arnd@...db.de>, linux-kernel@...r.kernel.org, linux-kbuild@...r.kernel.org
Subject: Re: [PATCH 1/2] kallsyms: get rid of code for absolute kallsyms
On Thu, Feb 22, 2024 at 5:27 AM Jann Horn <jannh@...gle.com> wrote:
>
> To compile code for absolute kallsyms, you had to turn off
> KALLSYMS_BASE_RELATIVE. I think based on the way it was declared in
> Kconfig (without a string after "bool"), it wasn't even possible to
> select it.
>
> Get rid of this config option, as preparation for some kallsyms
> optimizations that would otherwise be infeasible.
>
> Signed-off-by: Jann Horn <jannh@...gle.com>
The code is correct.
Based on Arnd's feedback, could you rephrase the commit description?
When 2213e9a66bb87d83 was applied, IA64 and (TILE && 64BIT)
opted out of KALLSYMS_BASE_RELATIVE.
Now, both architectures are gone.
In the commit description, for instance, you can say:
Commit cf8e8658100d ("arch: Remove Itanium (IA-64) architecture")
removed the last use for the combination of KALLSYMS=y and
KALLSYMS_BASE_RELATIVE=n.
--
Best Regards
Masahiro Yamada
Powered by blists - more mailing lists