Re: [PATCH 03/11] ftrace: Cleanup regex_lock and ftrace_lock around hash updating

2013-05-09 Thread Steven Rostedt
On Thu, 2013-05-09 at 13:12 -0400, Steven Rostedt wrote: > On Thu, 2013-05-09 at 14:44 +0900, Masami Hiramatsu wrote: > > Cleanup regex_lock and ftrace_lock locking points around > > ftrace_ops hash update code. > > > > The new rule is that regex_lock protects ops->*_hash > > read-update-write cod

Re: [PATCH 03/11] ftrace: Cleanup regex_lock and ftrace_lock around hash updating

2013-05-09 Thread Steven Rostedt
On Thu, 2013-05-09 at 14:44 +0900, Masami Hiramatsu wrote: > Cleanup regex_lock and ftrace_lock locking points around > ftrace_ops hash update code. > > The new rule is that regex_lock protects ops->*_hash > read-update-write code for each ftrace_ops. Usually, > hash update is done by following se