diff options
| author | Jason Gunthorpe <[email protected]> | 2023-01-24 16:34:25 -0400 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-02-09 16:51:44 -0800 |
| commit | 7ce154fe6917e7db94d63bc4d6c73b678ad1c581 (patch) | |
| tree | d3ff29d566f48645cf2b654dfce96e9297464e6a /tools/perf/scripts/python | |
| parent | afa3c33e2684c2eec4f47d83d2859b76f3568be6 (diff) | |
mm/gup: move try_grab_page() to mm/internal.h
This is part of the internal function of gup.c and is only non-static so
that the parts of gup.c in the huge_memory.c and hugetlb.c can call it.
Put it in internal.h beside the similarly purposed try_grab_folio()
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Jason Gunthorpe <[email protected]>
Reviewed-by: John Hubbard <[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]>
Cc: Mike Rapoport (IBM) <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions