linux-next: build failure after merge of the mm tree

From: Stephen Rothwell
Date: Sun Mar 05 2023 - 21:55:02 EST


Hi all,

After merging the mm tree, today's linux-next build (various) failed
like this:

mm/khugepaged.c:1702:9: error: implicit declaration of function ‘vma_try_start_write’; did you mean ‘vma_start_write’? [-Werror=implicit-function-declaration]

Caused by commit

92e3612279f9 ("mm/khugepaged: fix vm_lock/i_mmap_rwsem inversion in retract_page_tables")

The definition of vma_try_start_write() is protected by
CONFIG_PER_VMA_LOCK, but its use is not.

--
Cheers,
Stephen Rothwell

Attachment: pgpRYL67ay4qN.pgp
Description: OpenPGP digital signature