[rcu:willy-maple 139/202] mm/nommu.c:22:10: fatal error: linux/vmacache.h: No such file or directory

From: kernel test robot
Date: Tue Feb 02 2021 - 19:00:28 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git willy-maple
head: 7e346d2845b4bd77663394f39fa70456e0084c86
commit: 1603fe680ad28a1a5ad87f659786f3ff7b494dcf [139/202] mm: Remove vmacache
config: riscv-nommu_k210_defconfig (attached as .config)
compiler: riscv64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git/commit/?id=1603fe680ad28a1a5ad87f659786f3ff7b494dcf
git remote add rcu https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git
git fetch --no-tags rcu willy-maple
git checkout 1603fe680ad28a1a5ad87f659786f3ff7b494dcf
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscv

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

Note: the rcu/willy-maple HEAD 7e346d2845b4bd77663394f39fa70456e0084c86 builds fine.
It only hurts bisectibility.

All errors (new ones prefixed by >>):

In file included from mm/nommu.c:20:
include/linux/mm.h:2595:6: warning: no previous prototype for 'mm_populate_vma' [-Wmissing-prototypes]
2595 | void mm_populate_vma(struct vm_area_struct *vma, unsigned long start,
| ^~~~~~~~~~~~~~~
>> mm/nommu.c:22:10: fatal error: linux/vmacache.h: No such file or directory
22 | #include <linux/vmacache.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.


vim +22 mm/nommu.c

b1de0d139c97a6 Mitchel Humpherys 2014-06-06 18
b95f1b31b75588 Paul Gortmaker 2011-10-16 19 #include <linux/export.h>
^1da177e4c3f41 Linus Torvalds 2005-04-16 20 #include <linux/mm.h>
6e84f31522f931 Ingo Molnar 2017-02-08 21 #include <linux/sched/mm.h>
615d6e8756c871 Davidlohr Bueso 2014-04-07 @22 #include <linux/vmacache.h>
^1da177e4c3f41 Linus Torvalds 2005-04-16 23 #include <linux/mman.h>
^1da177e4c3f41 Linus Torvalds 2005-04-16 24 #include <linux/swap.h>
^1da177e4c3f41 Linus Torvalds 2005-04-16 25 #include <linux/file.h>
^1da177e4c3f41 Linus Torvalds 2005-04-16 26 #include <linux/highmem.h>
^1da177e4c3f41 Linus Torvalds 2005-04-16 27 #include <linux/pagemap.h>
^1da177e4c3f41 Linus Torvalds 2005-04-16 28 #include <linux/slab.h>
^1da177e4c3f41 Linus Torvalds 2005-04-16 29 #include <linux/vmalloc.h>
^1da177e4c3f41 Linus Torvalds 2005-04-16 30 #include <linux/blkdev.h>
^1da177e4c3f41 Linus Torvalds 2005-04-16 31 #include <linux/backing-dev.h>
3b32123d734cb4 Gideon Israel Dsouza 2014-04-07 32 #include <linux/compiler.h>
^1da177e4c3f41 Linus Torvalds 2005-04-16 33 #include <linux/mount.h>
^1da177e4c3f41 Linus Torvalds 2005-04-16 34 #include <linux/personality.h>
^1da177e4c3f41 Linus Torvalds 2005-04-16 35 #include <linux/security.h>
^1da177e4c3f41 Linus Torvalds 2005-04-16 36 #include <linux/syscalls.h>
120a795da07c9a Al Viro 2010-10-30 37 #include <linux/audit.h>
b1de0d139c97a6 Mitchel Humpherys 2014-06-06 38 #include <linux/printk.h>
^1da177e4c3f41 Linus Torvalds 2005-04-16 39

:::::: The code at line 22 was first introduced by commit
:::::: 615d6e8756c87149f2d4c1b93d471bca002bd849 mm: per-thread vma caching

:::::: TO: Davidlohr Bueso <davidlohr@xxxxxx>
:::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip