aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stat-cpi.py
diff options
context:
space:
mode:
authorSuren Baghdasaryan <[email protected]>2023-08-04 08:27:23 -0700
committerAndrew Morton <[email protected]>2023-08-21 13:37:46 -0700
commitad9f006351c3368171458ae7ab14d72f031b239f (patch)
tree654bdfd191b866fcf7b1ec3335f9e8c69cf6d5ec /tools/perf/scripts/python/stat-cpi.py
parent60081bf19b0ec8fa40c589bd361fa2bc763f1050 (diff)
mm: always lock new vma before inserting into vma tree
While it's not strictly necessary to lock a newly created vma before adding it into the vma tree (as long as no further changes are performed to it), it seems like a good policy to lock it and prevent accidental changes after it becomes visible to the page faults. Lock the vma before adding it into the vma tree. [[email protected]: fix reject fixing in vma_link(), per Jann] 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]> Cc: Jann Horn <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions