diff options
author | Masami Hiramatsu <[email protected]> | 2013-05-13 20:58:34 +0900 |
---|---|---|
committer | Steven Rostedt <[email protected]> | 2013-05-15 13:50:22 -0400 |
commit | c02c7e65d9b13670e34bc523744cf4f6e99c198a (patch) | |
tree | 186f0a0e169e83b9c7d899ace2e028b7293459c5 /lib/memory-notifier-error-inject.c | |
parent | 60705c89460fdc7227f2d153b68b3f34814738a4 (diff) |
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 <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Cc: Tom Zanussi <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Ingo Molnar <[email protected]>
Signed-off-by: Masami Hiramatsu <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions