[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAPhsuW4GBD4uhPqDAubO=xF+ve6G-STtt8fxzFNvGcnWcfaSxQ@mail.gmail.com>
Date: Thu, 17 Nov 2022 12:00:03 -0800
From: Song Liu <song@...nel.org>
To: "Jiri Slaby (SUSE)" <jirislaby@...nel.org>
Cc: linux-kernel@...r.kernel.org, Andi Kleen <andi@...stfloor.org>,
Josh Poimboeuf <jpoimboe@...nel.org>,
Jiri Kosina <jikos@...nel.org>,
Miroslav Benes <mbenes@...e.cz>,
Petr Mladek <pmladek@...e.com>,
Joe Lawrence <joe.lawrence@...hat.com>,
live-patching@...r.kernel.org, Andi Kleen <ak@...ux.intel.com>,
Martin Liska <mliska@...e.cz>, Jiri Slaby <jslaby@...e.cz>
Subject: Re: [PATCH 40/46] x86/livepatch, lto: Disable live patching with gcc LTO
On Mon, Nov 14, 2022 at 3:48 AM Jiri Slaby (SUSE) <jirislaby@...nel.org> wrote:
>
> From: Andi Kleen <andi@...stfloor.org>
>
> It is not supported by gcc 12 so far, so it causes compiler "sorry"
> messages.
>
> Other than the compiler support, there shouldn't be any barriers for
> live patching LTOed kernels, although it might be more difficult to
> create patches for larger functions.
A loosely related question: does livepatch work with CLANG LTO?
AFAICT, kpatch-build doesn't support it. But the kernel side should
work just fine?
Thanks,
Song
[...]
Powered by blists - more mailing lists