diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2021-03-04 10:21:02 -0500 |
---|---|---|
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | 2021-09-27 09:27:30 -0400 |
commit | 6baa8d602e84d97a7541ed94ccaeb6a3f9763111 (patch) | |
tree | b2681a135869b00cf38927c68e9e7ca06bfc4e55 /mm/memory.c | |
parent | ffdc8dabf20b1b894eda63e7ec9ca15ab0b7292c (diff) | |
download | linux-6baa8d602e84d97a7541ed94ccaeb6a3f9763111.tar.gz linux-6baa8d602e84d97a7541ed94ccaeb6a3f9763111.tar.bz2 linux-6baa8d602e84d97a7541ed94ccaeb6a3f9763111.zip |
mm/filemap: Add folio_wait_locked()
Also add folio_wait_locked_killable(). Turn wait_on_page_locked() and
wait_on_page_locked_killable() into wrappers. This eliminates a call
to compound_head() from each call-site, reducing text size by 193 bytes
for me.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Acked-by: Jeff Layton <jlayton@kernel.org>
Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Reviewed-by: William Kucharski <william.kucharski@oracle.com>
Reviewed-by: David Howells <dhowells@redhat.com>
Acked-by: Mike Rapoport <rppt@linux.ibm.com>
Diffstat (limited to 'mm/memory.c')
0 files changed, 0 insertions, 0 deletions