[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180112125042.13f12111@gandalf.local.home>
Date: Fri, 12 Jan 2018 12:50:42 -0500
From: Steven Rostedt <rostedt@...dmis.org>
To: Jessica Yu <jeyu@...nel.org>
Cc: Namit Gupta <gupta.namit@...sung.com>, mingo@...hat.com,
linux-kernel@...r.kernel.org, pankaj.m@...sung.com,
a.sahrawat@...sung.com
Subject: Re: [PATCH v3] ftrace/module: Move ftrace_release_mod() to
ddebug_cleanup label
On Fri, 12 Jan 2018 18:32:27 +0100
Jessica Yu <jeyu@...nel.org> wrote:
> +++ Namit Gupta [08/01/18 10:41 +0530]:
> >ftrace_module_init happen after dynamic_debug_setup, it is desired that
> >cleanup should be called after this label however in current implementation
> >it is called in free module label,ie:even though ftrace in not initialized,
> >from so many fail case ftrace_release_mod() will be called and unnecessary
> >traverse the whole list.
> >In below patch we moved ftrace_release_mod() from free_module label to
> >ddebug_cleanup label. that is the best possible location, other solution
> >is to make new label to ftrace_release_mod() but since ftrace_module_init()
> >is not return with minimum changes it should be in ddebug_cleanup label.
> >
> >Signed-off-by: Namit Gupta <gupta.namit@...sung.com>
>
> Hi Steven,
>
> Could I get an ACK for this patch?
>
Hi Jessica,
Thanks for asking, because this came in while I was traveling and is
buried in the "travel log" part of my inbox.
Please add:
Reviewed-by: Steven Rostedt (VMware) <rostedt@...dmis.org>
-- Steve
Powered by blists - more mailing lists