diff options
| author | Jason Gunthorpe <[email protected]> | 2023-01-24 16:34:24 -0400 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-02-09 16:51:44 -0800 |
| commit | afa3c33e2684c2eec4f47d83d2859b76f3568be6 (patch) | |
| tree | 342eca4b6edf4a203d3a84ea5c5208114df96743 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 7427c30bea1449a885a1dd9baf991aaad26209ce (diff) | |
mm/gup: don't call __gup_longterm_locked() if FOLL_LONGTERM cannot be set
get_user_pages_remote(), get_user_pages_unlocked() and get_user_pages()
are never called with FOLL_LONGTERM, so directly call
__get_user_pages_locked()
The next patch will add an assertion for this.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Jason Gunthorpe <[email protected]>
Suggested-by: John Hubbard <[email protected]>
Reviewed-by: John Hubbard <[email protected]>
Acked-by: Mike Rapoport (IBM) <[email protected]>
Cc: Alistair Popple <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Claudio Imbrenda <[email protected]>
Cc: David Hildenbrand <[email protected]>
Cc: David Howells <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions