Re: [PATCH 1/2 v3] ftrace: don't allow IPMODIFY without proper compiler support

From: Jiri Kosina
Date: Fri Jan 16 2015 - 11:42:09 EST


On Fri, 16 Jan 2015, Steven Rostedt wrote:

> Instead, make live kernel patching fail to load if fentry isn't
> supported. IOW, instead of ftrace_ipmodify_supported, have a
> live_kernel_patching_supported that could be based on fentry being used
> or not.

I can live with that, we are handling non-fentry case ourselves already.

You expressed that you would accept such patch for ftrace in a past, so I
thought I'll move it out from livepatching to ftrace. But if you don't
want it now, that's not a big issue, and handling the possible fallout
stays the responsibility of ftrace_ops "owner".

--
Jiri Kosina
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/