diff options
| author | Suren Baghdasaryan <[email protected]> | 2023-08-04 08:27:21 -0700 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-08-21 13:37:45 -0700 |
| commit | e727bfd5e73a35ecbc4a01a15c659b9fafaa97c0 (patch) | |
| tree | a49471600cde73c8b5114b24231d5a6619c8d640 /tools/perf/scripts/python/futex-contention.py | |
| parent | ce2fc5fffdfa9fc1412aff108afa102ddf82fd2b (diff) | |
mm: replace mmap with vma write lock assertions when operating on a vma
Vma write lock assertion always includes mmap write lock assertion and
additional vma lock checks when per-VMA locks are enabled. Replace
weaker mmap_assert_write_locked() assertions with stronger
vma_assert_write_locked() ones when we are operating on a vma which
is expected to be locked.
Link: https://lkml.kernel.org/r/[email protected]
Suggested-by: Jann Horn <[email protected]>
Signed-off-by: Suren Baghdasaryan <[email protected]>
Reviewed-by: Liam R. Howlett <[email protected]>
Cc: Linus Torvalds <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions