[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190510175402.173e0cf8@gandalf.local.home>
Date: Fri, 10 May 2019 17:54:02 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Jiri Kosina <jikos@...nel.org>
Cc: linux-kernel@...r.kernel.org,
Linus Torvalds <torvalds@...ux-foundation.org>,
Peter Zijlstra <peterz@...radead.org>,
Josh Poimboeuf <jpoimboe@...hat.com>,
Ingo Molnar <mingo@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>,
"H. Peter Anvin" <hpa@...or.com>, Miroslav Benes <mbenes@...e.cz>,
Petr Mladek <pmladek@...e.com>,
Joe Lawrence <joe.lawrence@...hat.com>,
live-patching@...r.kernel.org, x86@...nel.org,
Borislav Petkov <bp@...en8.de>
Subject: Re: [RFC][PATCH 3/2] livepatch: remove klp_check_compiler_support()
On Fri, 10 May 2019 23:47:50 +0200 (CEST)
Jiri Kosina <jikos@...nel.org> wrote:
> From: Jiri Kosina <jkosina@...e.cz>
>
> The only purpose of klp_check_compiler_support() is to make sure that we
> are not using ftrace on x86 via mcount (because that's executed only after
> prologue has already happened, and that's too late for livepatching
> purposes).
>
> Now that mcount is not supported by ftrace any more, there is no need for
> klp_check_compiler_support() either.
>
> Reported-by: Linus Torvalds <torvalds@...ux-foundation.org>
> Signed-off-by: Jiri Kosina <jkosina@...e.cz>
> ---
>
> I guess it makes most sense to merge this together with mcount removal in
> one go.
Thanks, I applied it to my queue and will start running it through my
tests.
-- Steve
Powered by blists - more mailing lists