summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorSteve Sistare <steven.sistare@oracle.com>2024-10-25 16:11:51 +0300
committerJason Gunthorpe <jgg@nvidia.com>2024-10-28 19:24:23 +0300
commita2ad1b8101a36c927bcbd1317475b9576c352155 (patch)
treed2641b8751555a9f860ca974efd57fb0021d8449 /tools/perf/scripts/python/stackcollapse.py
parente2d8fe9148b79ed1cbf0663edc988db7769173dc (diff)
downloadlinux-a2ad1b8101a36c927bcbd1317475b9576c352155.tar.xz
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/1729861919-234514-2-git-send-email-steven.sistare@oracle.com Suggested-by: Jason Gunthorpe <jgg@nvidia.com> Suggested-by: David Hildenbrand <david@redhat.com> Signed-off-by: Steve Sistare <steven.sistare@oracle.com> Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> Acked-by: David Hildenbrand <david@redhat.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions