Re: [PATCH v4 1/2] mm, hugepages: add mremap() support for hugepage backed vma

From: kernel test robot
Date: Wed Oct 06 2021 - 20:15:28 EST


Hi Mina,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on hnaz-mm/master]

url: https://github.com/0day-ci/linux/commits/Mina-Almasry/mm-hugepages-add-mremap-support-for-hugepage-backed-vma/20211007-034701
base: https://github.com/hnaz/linux-mm master
config: nds32-buildonly-randconfig-r004-20211004 (attached as .config)
compiler: nds32le-linux-gcc (GCC) 11.2.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://github.com/0day-ci/linux/commit/3829eb526dc386bfb3870172413086cd8f874738
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Mina-Almasry/mm-hugepages-add-mremap-support-for-hugepage-backed-vma/20211007-034701
git checkout 3829eb526dc386bfb3870172413086cd8f874738
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=nds32 SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

nds32le-linux-ld: fs/btrfs/inode.o: in function `hugetlb_vma_shareable':
>> inode.c:(.text+0x4eec): multiple definition of `hugetlb_vma_shareable'; fs/btrfs/disk-io.o:disk-io.c:(.text+0x3c24): first defined here

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

Attachment: .config.gz
Description: application/gzip