Re: [PATCH] module: Introduce MODULE_STATE_COMING_FINAL to avoid ftrace warning

From: Steven Rostedt
Date: Wed Apr 02 2014 - 08:36:17 EST


On Wed, 2 Apr 2014 16:54:26 +0900
Takao Indoh <indou.takao@xxxxxxxxxxxxxx> wrote:

> This patch adds new module state MODULE_STATE_COMING_FINAL to avoid
> ftrace waring message when loading two modules simultaneously.
>
> The original patch was written by Steven Rostedt, see below.
> https://lkml.org/lkml/2014/3/24/242
>


>
> This patch introduces MODULE_STATE_COMING_FINAL which means that the
> module is ready to be changed to ReadOnly. By this, the modules B is not
> change to RO at (2) because its state is still MODULE_STATE_COMING, so
> this warning message is avoided. Module B is changed to RO in the
> do_init_module() after comes back from notifier.
>
> Signed-off-by: Takao Indoh <indou.takao@xxxxxxxxxxxxxx>

As I'm the original author, add my:

Signed-off-by: Steven Rostedt <rostedt@xxxxxxxxxxx>

too.

-- Steve
--
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/