diff options
author | Liam Howlett <[email protected]> | 2021-06-28 19:38:41 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2021-06-29 10:53:51 -0700 |
commit | 96d990239e31d9623fdb96e829237b997c9d3d63 (patch) | |
tree | eb30138f5bda6cc31994bd5c1523610fd1271070 /tools/perf/scripts/python/sctop.py | |
parent | 78d9cf6041b968cc881fd22e25e2662d1cec4dba (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/sctop.py')
0 files changed, 0 insertions, 0 deletions