Re: [RFC][PATCH 3/2] livepatch: remove klp_check_compiler_support()
From: Steven Rostedt
Date: Fri May 10 2019 - 17:55:29 EST
On Fri, 10 May 2019 23:47:50 +0200 (CEST)
Jiri Kosina <jikos@xxxxxxxxxx> wrote:
> From: Jiri Kosina <jkosina@xxxxxxx>
>
> 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@xxxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Jiri Kosina <jkosina@xxxxxxx>
> ---
>
> 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