diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2021-04-23 04:58:32 +0200 |
---|---|---|
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | 2021-09-27 15:27:30 +0200 |
commit | b47393f8448ade8bafe09ed302ce2a15093e9718 (patch) | |
tree | 1d4317c21fb3ccbed8a7787b58344262c17bd479 /LICENSES/exceptions | |
parent | mm/filemap: Convert page wait queues to be folios (diff) | |
download | linux-b47393f8448ade8bafe09ed302ce2a15093e9718.tar.xz linux-b47393f8448ade8bafe09ed302ce2a15093e9718.zip |
mm/filemap: Add folio private_2 functions
end_page_private_2() becomes folio_end_private_2(),
wait_on_page_private_2() becomes folio_wait_private_2() and
wait_on_page_private_2_killable() becomes folio_wait_private_2_killable().
Adjust the fscache equivalents to call page_folio() before calling these
functions to avoid adding wrappers. Ends up costing 1 byte of text
in ceph & netfs, but the core shrinks by three calls to page_folio().
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Reviewed-by: William Kucharski <william.kucharski@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: David Howells <dhowells@redhat.com>
Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Diffstat (limited to 'LICENSES/exceptions')
0 files changed, 0 insertions, 0 deletions