summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2026-09-02 12:58:24 -0700
committerPaul E. McKenney <paulmck@kernel.org>2026-10-12 16:50:39 -0700
commit06726ed5906d6a403a79e78f80a428ffcbe0bbb4 (patch)
treed3350794387ba6bbd82ebcdeedfce711a03d0e09 /tools/perf/scripts/python/stackcollapse.py
parent494fa5fcb1de0a1d3b7f864db35877ad552f39ad (diff)
srcutree: Explicitly note DEFINE_SRCU() needs for srcu_barrier()
In the core kernel, an srcu_struct structure created by DEFINE_SRCU() or friends lives as long as the kernel does, so there are no particular requirements surrounding the end of that structure's life. In contrast, when DEFINE_SRCU() and friends are used within a module, the corresponding srcu_struct structures' lifetimes end when that module exits. This in turn means that if such a structure was passed to call_srcu(), then srcu_barrier() must be invoked after the last call_srcu() invocation but before the module exits. This commit therefore adds a comment stating this. Reported-by: Alexander Aring <aahringo@redhat.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions