aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <[email protected]>2024-04-24 20:19:10 +0100
committerAndrew Morton <[email protected]>2024-05-05 17:53:49 -0700
commit9cbe4954c6d93e6a72680fe634913c0d056fd932 (patch)
treede67d0405b02b472dc1c8952ae45f9761247d613 /tools/perf/scripts/python
parent498aefbc69d5719d8e4713b568122c259167f7b9 (diff)
gup: use folios for gup_devmap
Use try_grab_folio() instead of try_grab_page() so we get the folio back that we calculated, and then use folio_set_referenced() instead of SetPageReferenced(). Correspondingly, use gup_put_folio() to put any unneeded references. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions