mm/filemap: Add folio_wake_bit()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 15 Jan 2021 22:14:48 +0000 (17:14 -0500)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 27 Sep 2021 13:27:30 +0000 (09:27 -0400)
commit6974d7c977d77a9d51c8bc712425bfa1e552493e
tree76e871672967f236fa3dcdae511c337ff9795833
parent101c0bf67f50ca0e8b9da97b26f8dc7cb232b4d3
mm/filemap: Add folio_wake_bit()

Convert wake_up_page_bit() to folio_wake_bit().  All callers have a folio,
so use it directly.  Saves 66 bytes of text in end_page_private_2().

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>
mm/filemap.c