diff options
| author | Liam R. Howlett <[email protected]> | 2024-08-30 00:00:48 -0400 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-09-03 21:15:50 -0700 |
| commit | c7c0c3c30f4ecb2d5a9869166e52ad23c0b4ec89 (patch) | |
| tree | 46dca82ed27ac91d1e6f6dcf6dd60a53c091174d /tools/perf/scripts/python/bin | |
| parent | 89b2d2a57eb97eec2e782976844995f4dd189998 (diff) | |
mm/vma: inline munmap operation in mmap_region()
mmap_region is already passed sanitized addr and len, so change the call
to do_vmi_munmap() to do_vmi_align_munmap() and inline the other checks.
The inlining of the function and checks is an intermediate step in the
series so future patches are easier to follow.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Liam R. Howlett <[email protected]>
Reviewed-by: Lorenzo Stoakes <[email protected]>
Cc: Bert Karwatzki <[email protected]>
Cc: Jeff Xu <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: Lorenzo Stoakes <[email protected]>
Cc: Mark Brown <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: "Paul E. McKenney" <[email protected]>
Cc: Paul Moore <[email protected]>
Cc: Sidhartha Kumar <[email protected]>
Cc: Suren Baghdasaryan <[email protected]>
Cc: Vlastimil Babka <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions