Messages in this thread | | | Date | Wed, 2 Apr 2014 08:36:03 -0400 | From | Steven Rostedt <> | Subject | Re: [PATCH] module: Introduce MODULE_STATE_COMING_FINAL to avoid ftrace warning |
| |
On Wed, 2 Apr 2014 16:54:26 +0900 Takao Indoh <indou.takao@jp.fujitsu.com> 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@jp.fujitsu.com>
As I'm the original author, add my:
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
too.
-- Steve
| |