summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/thread.c
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2014-09-28 23:44:18 +0200
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2014-10-29 18:07:18 +0100
commit392809b25833548ccfc55e61b76c8451a5073216 (patch)
tree9cffa1e96d8ecc7208fc3a3c9fc7ef8725d2aa55 /tools/perf/util/thread.c
parentsignal: Exit RCU read-side critical section on each pass through loop (diff)
downloadlinux-392809b25833548ccfc55e61b76c8451a5073216.tar.xz
linux-392809b25833548ccfc55e61b76c8451a5073216.zip
signal: Document the RCU protection of ->sighand
__cleanup_sighand() frees sighand without RCU grace period. This is correct but this looks "obviously buggy" and constantly confuses the readers, add the comments to explain how this works. Signed-off-by: Oleg Nesterov <oleg@redhat.com> Reviewed-by: Steven Rostedt <rostedt@goodmis.org> Reviewed-by: Rik van Riel <riel@redhat.com> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Reviewed-by: Pranith Kumar <bobby.prani@gmail.com>
Diffstat (limited to 'tools/perf/util/thread.c')
0 files changed, 0 insertions, 0 deletions