Re: [PATCH v3 1/2] ftrace/module: remove ftrace module notifier

From: Petr Mladek
Date: Mon Feb 08 2016 - 09:18:42 EST


On Fri 2016-02-05 22:08:16, Jessica Yu wrote:
> Remove the ftrace module notifier in favor of directly calling
> ftrace_module_enable() and ftrace_release_mod() in the module loader.
> Hard-coding the function calls directly in the module loader removes
> dependence on the module notifier call chain and provides better
> visibility and control over what gets called when, which is important
> to kernel utilities such as livepatch.
>
> Signed-off-by: Jessica Yu <jeyu@xxxxxxxxxx>

Reviewed-by: Petr Mladek <pmladek@xxxxxxx>

Best Regards,
Petr