diff options
author | 2022-02-04 10:32:01 -0500 | |
---|---|---|
committer | 2022-03-21 12:56:35 -0400 | |
commit | 5fec0719908bdabdf9d017b0f488d18019ed00f7 (patch) | |
tree | 4ac37310bdb363402f898ac7b9bd20b7fbad8200 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mm/gup: Add try_get_folio() and try_grab_folio() (diff) | |
download | wireguard-linux-5fec0719908bdabdf9d017b0f488d18019ed00f7.tar.xz wireguard-linux-5fec0719908bdabdf9d017b0f488d18019ed00f7.zip |
mm/gup: Convert try_grab_page() to use a folio
Hoist the folio conversion and the folio_ref_count() check to the
top of the function instead of using the one buried in try_get_page().
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: John Hubbard <jhubbard@nvidia.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions