summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorLorenzo Stoakes <lorenzo.stoakes@oracle.com>2024-12-12 14:48:41 +0300
committerAndrew Morton <akpm@linux-foundation.org>2025-01-14 09:40:59 +0300
commitdf31155aff025171ae90cce91492e39b2cd5869b (patch)
tree0945a963955d99984b6724eec03200eb2e0e8950 /tools/perf/scripts/python/flamegraph.py
parent5d45ba8c713ce5339b2938573cd42532254645d0 (diff)
downloadlinux-df31155aff025171ae90cce91492e39b2cd5869b.tar.xz
mm: assert mmap write lock held on do_mmap(), mmap_region()
Both of these functions can be invoked outside of mm, so it is probably a good idea to assert that the required lock is held. Will only have an impact if CONFIG_DEBUG_VM is set, otherwise this amounts to no change at all. Link: https://lkml.kernel.org/r/20241212114841.55185-1-lorenzo.stoakes@oracle.com Signed-off-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com> Acked-by: Vlastimil Babka <vbabka@suse.cz> Cc: Jann Horn <jannh@google.com> Cc: Liam R. Howlett <Liam.Howlett@Oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions