diff options
author | Steve Sistare <[email protected]> | 2024-10-25 06:11:51 -0700 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2024-10-28 13:24:23 -0300 |
commit | a2ad1b8101a36c927bcbd1317475b9576c352155 (patch) | |
tree | d2641b8751555a9f860ca974efd57fb0021d8449 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | e2d8fe9148b79ed1cbf0663edc988db7769173dc (diff) |
mm/gup: Add folio_add_pins()
Export a function that adds pins to an already-pinned huge-page folio.
This allows any range of small pages within the folio to be unpinned later.
For example, pages pinned via memfd_pin_folios and modified by
folio_add_pins could be unpinned via unpin_user_page(s).
Link: https://patch.msgid.link/r/[email protected]
Suggested-by: Jason Gunthorpe <[email protected]>
Suggested-by: David Hildenbrand <[email protected]>
Signed-off-by: Steve Sistare <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Acked-by: David Hildenbrand <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions