diff options
| author | Axel Rasmussen <[email protected]> | 2023-03-14 15:12:48 -0700 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-04-05 19:42:47 -0700 |
| commit | 61c5004022f56c443b86800e8985d8803f3a22aa (patch) | |
| tree | c8ad936241bbf7a2d55706fc5bb2c1a5171e49db /tools/perf/scripts/python/bin | |
| parent | a734991ccaec1985fff42fb26bb6d789d35defb4 (diff) | |
mm: userfaultfd: don't pass around both mm and vma
Quite a few userfaultfd functions took both mm and vma pointers as
arguments. Since the mm is trivially accessible via vma->vm_mm, there's
no reason to pass both; it just needlessly extends the already long
argument list.
Get rid of the mm pointer, where possible, to shorten the argument list.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Axel Rasmussen <[email protected]>
Acked-by: Peter Xu <[email protected]>
Acked-by: Mike Rapoport (IBM) <[email protected]>
Cc: Al Viro <[email protected]>
Cc: Hugh Dickins <[email protected]>
Cc: James Houghton <[email protected]>
Cc: Jan Kara <[email protected]>
Cc: Liam R. Howlett <[email protected]>
Cc: Matthew Wilcox (Oracle) <[email protected]>
Cc: Mike Kravetz <[email protected]>
Cc: Muchun Song <[email protected]>
Cc: Nadav Amit <[email protected]>
Cc: Shuah Khan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions