diff options
| author | Alistair Popple <[email protected]> | 2022-08-24 15:09:51 +1000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2022-09-11 20:26:00 -0700 |
| commit | f6d299ec39d8ebb62fc047022d4904575c99a28c (patch) | |
| tree | f2898e76057171a027bc6b3195d0b8f3d7d0de63 /tools/perf/scripts/python/bin | |
| parent | 32d772708009eb90f8eeed6ec8f76e06f07e41e9 (diff) | |
mm/gup.c: don't pass gup_flags to check_and_migrate_movable_pages()
gup_flags is passed to check_and_migrate_movable_pages() so that it can
call either put_page() or unpin_user_page() to drop the page reference.
However check_and_migrate_movable_pages() is only called for
FOLL_LONGTERM, which implies FOLL_PIN so there is no need to pass
gup_flags.
Link: https://lkml.kernel.org/r/d611c65a9008ff55887307df457c6c2220ad6163.1661317396.git-series.apopple@nvidia.com
Signed-off-by: Alistair Popple <[email protected]>
Reviewed-by: David Hildenbrand <[email protected]>
Reviewed-by: John Hubbard <[email protected]>
Cc: Alex Sierra <[email protected]>
Cc: Dan Williams <[email protected]>
Cc: Felix Kuehling <[email protected]>
Cc: Jason Gunthorpe <[email protected]>
Cc: Logan Gunthorpe <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: Miaohe Lin <[email protected]>
Cc: Muchun Song <[email protected]>
Cc: Ralph Campbell <[email protected]>
Cc: Shigeru Yoshida <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions