The patch titled Subject: mm/filemap: make folio_put_wait_locked static has been added to the -mm mm-unstable branch. Its filename is mm-filemap-make-folio_put_wait_locked-static.patch This patch will shortly appear at https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/mm-filemap-make-folio_put_wait_locked-static.patch This patch will later appear in the mm-unstable branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next via the mm-everything branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm and is updated there every 2-3 working days ------------------------------------------------------ From: Ke Sun <sunke@xxxxxxxxxx> Subject: mm/filemap: make folio_put_wait_locked static Date: Wed, 14 Sep 2022 10:17:38 +0800 It's only used in mm/filemap.c, since commit <ffa65753c431> ("mm/migrate.c: rework migration_entry_wait() to not take a pageref"). Make it static. Link: https://lkml.kernel.org/r/20220914021738.3228011-1-sunke@xxxxxxxxxx Signed-off-by: Ke Sun <sunke@xxxxxxxxxx> Reported-by: k2ci <kernel-bot@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/pagemap.h | 1 - mm/filemap.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) --- a/include/linux/pagemap.h~mm-filemap-make-folio_put_wait_locked-static +++ a/include/linux/pagemap.h @@ -1039,7 +1039,6 @@ static inline int wait_on_page_locked_ki return folio_wait_locked_killable(page_folio(page)); } -int folio_put_wait_locked(struct folio *folio, int state); void wait_on_page_writeback(struct page *page); void folio_wait_writeback(struct folio *folio); int folio_wait_writeback_killable(struct folio *folio); --- a/mm/filemap.c~mm-filemap-make-folio_put_wait_locked-static +++ a/mm/filemap.c @@ -1460,7 +1460,7 @@ EXPORT_SYMBOL(folio_wait_bit_killable); * * Return: 0 if the folio was unlocked or -EINTR if interrupted by a signal. */ -int folio_put_wait_locked(struct folio *folio, int state) +static int folio_put_wait_locked(struct folio *folio, int state) { return folio_wait_bit_common(folio, PG_locked, state, DROP); } _ Patches currently in -mm which might be from sunke@xxxxxxxxxx are mm-filemap-make-folio_put_wait_locked-static.patch