lkml.org 
[lkml]   [2014]   [Apr]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2014-04-02 15:21    [W:0.067 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site