[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190510215839.obcshc5p5zapjc3c@treble>
Date: Fri, 10 May 2019 16:58:39 -0500
From: Josh Poimboeuf <jpoimboe@...hat.com>
To: Jiri Kosina <jikos@...nel.org>
Cc: Steven Rostedt <rostedt@...dmis.org>, linux-kernel@...r.kernel.org,
Linus Torvalds <torvalds@...ux-foundation.org>,
Peter Zijlstra <peterz@...radead.org>,
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, May 10, 2019 at 11:47:50PM +0200, Jiri Kosina 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.
Acked-by: Josh Poimboeuf <jpoimboe@...hat.com>
--
Josh
Powered by blists - more mailing lists