Re: [PATCH v14 021/138] mm/filemap: Add folio_wait_locked()

Mike Rapoport
2021-07-20T10:55:04Z

On Thu, Jul 15, 2021 at 04:35:07AM +0100, Matthew Wilcox (Oracle) wrote:
> 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>
> ---
> include/linux/pagemap.h | 26 ++++++++++++++++++--------
> mm/filemap.c | 4 ++--
> 2 files changed, 20 insertions(+), 10 deletions(-)

Acked-by: Mike Rapoport <rppt@linux.ibm.com>