aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLiam Howlett <[email protected]>2021-06-28 19:38:41 -0700
committerLinus Torvalds <[email protected]>2021-06-29 10:53:51 -0700
commit96d990239e31d9623fdb96e829237b997c9d3d63 (patch)
treeeb30138f5bda6cc31994bd5c1523610fd1271070 /tools/perf/scripts/python
parent78d9cf6041b968cc881fd22e25e2662d1cec4dba (diff)
mm/mmap: introduce unlock_range() for code cleanup
Both __do_munmap() and exit_mmap() unlock a range of VMAs using almost identical code blocks. Replace both blocks by a static inline function. [[email protected]: tweak code layout] Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Liam R. Howlett <[email protected]> Reviewed-by: Matthew Wilcox (Oracle) <[email protected]> Reviewed-by: Davidlohr Bueso <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions