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@xxxxxxxxxxxxx> > Reviewed-by: Christoph Hellwig <hch@xxxxxx> > Acked-by: Jeff Layton <jlayton@xxxxxxxxxx> > Acked-by: Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx> > Acked-by: Vlastimil Babka <vbabka@xxxxxxx> > Reviewed-by: William Kucharski <william.kucharski@xxxxxxxxxx> > Reviewed-by: David Howells <dhowells@xxxxxxxxxx> > --- > include/linux/pagemap.h | 26 ++++++++++++++++++-------- > mm/filemap.c | 4 ++-- > 2 files changed, 20 insertions(+), 10 deletions(-) Acked-by: Mike Rapoport <rppt@xxxxxxxxxxxxx>