diff options
author | Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> | 2013-05-13 11:58:34 (GMT) |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2013-05-15 17:50:22 (GMT) |
commit | c02c7e65d9b13670e34bc523744cf4f6e99c198a (patch) | |
tree | 186f0a0e169e83b9c7d899ace2e028b7293459c5 /lib/bug.c | |
parent | 60705c89460fdc7227f2d153b68b3f34814738a4 (diff) | |
download | linux-c02c7e65d9b13670e34bc523744cf4f6e99c198a.tar.xz |
tracing/kprobes: Use rcu_dereference_raw for tp->files
Use rcu_dereference_raw() for accessing tp->files. Because the
write-side uses rcu_assign_pointer() for memory barrier,
the read-side also has to use rcu_dereference_raw() with
read memory barrier.
Link: http://lkml.kernel.org/r/20130513115834.6545.17022.stgit@mhiramat-M0-7522
Cc: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Tom Zanussi <tom.zanussi@intel.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@redhat.com>
Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'lib/bug.c')
0 files changed, 0 insertions, 0 deletions