public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/1] tracing: trace_remove_event_call() should fail if call/file is in use
@ 2013-07-29 17:50 Oleg Nesterov
  2013-07-29 17:50 ` [PATCH v2 1/1] " Oleg Nesterov
  2013-07-31 16:51 ` [PATCH v2 0/1] " Steven Rostedt
  0 siblings, 2 replies; 8+ messages in thread
From: Oleg Nesterov @ 2013-07-29 17:50 UTC (permalink / raw)
  To: Steven Rostedt, Masami Hiramatsu
  Cc: Alexander Z Lam, Arnaldo Carvalho de Melo, David Sharp,
	Frederic Weisbecker, Greg Kroah-Hartman, Ingo Molnar,
	Peter Zijlstra, Srikar Dronamraju, Vaibhav Nagarnaik,
	zhangwei(Jovi), linux-kernel

Hello.

On top of "[PATCH v2 0/6] tracing: open/delete fixes" series.

Perhaps this series should be updated, Masami has some concerns.
But it seems that you both mostly agree with these changes, so
let me send the "last" patch for review.

The last change in kernel/trace/trace_events.c we need to close the
problems with create/use/delete (at least those which I know ;).

Now we are ready to change trace_kprobe.c and trace_uprobe.c, Steven
already has the patches.

Changes:

	- remove the TRACE_EVENT_FL_REF_MASK (which we do not have)
	  check.

	  We rely on the previous changes, we do not care if someone
	  have an opened file, event_enable_write/etc can do nothing
	  but fail after we do remove_event_file_dir().

	- Add the comment and a note into the changelog to explain
	  why we still need to check FTRACE_EVENT_FL_ENABLED.

Oleg.

 include/linux/ftrace_event.h |    2 +-
 kernel/trace/trace_events.c  |   35 +++++++++++++++++++++++++++++++++--
 2 files changed, 34 insertions(+), 3 deletions(-)


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-07-31 17:59 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-29 17:50 [PATCH v2 0/1] tracing: trace_remove_event_call() should fail if call/file is in use Oleg Nesterov
2013-07-29 17:50 ` [PATCH v2 1/1] " Oleg Nesterov
2013-07-30  6:11   ` Masami Hiramatsu
2013-07-31 16:50   ` Steven Rostedt
2013-07-31 17:16     ` Steven Rostedt
2013-07-31 16:51 ` [PATCH v2 0/1] " Steven Rostedt
2013-07-31 17:38   ` Oleg Nesterov
2013-07-31 17:59     ` Steven Rostedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox