From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============7205830592875952245==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [RFC PATCH V1 2/5] mm/damon: Add 'damon_region' NUMA fault simulation support Date: Wed, 16 Feb 2022 22:49:14 +0800 Message-ID: <202202162241.DMvnC744-lkp@intel.com> In-Reply-To: <35c8c45267c6f2f5b6ec3559592342685106d39e.1645024354.git.xhao@linux.alibaba.com> List-Id: --===============7205830592875952245== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Xin, [FYI, it's a private test report for your RFC patch.] [auto build test ERROR on linus/master] [also build test ERROR on v5.17-rc4 next-20220216] [cannot apply to hnaz-mm/master rostedt-trace/for-next] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Xin-Hao/mm-damon-Add-NUMA-= access-statistics-function-support/20220216-163243 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git = c5d9ae265b105d9a67575fb67bd4650a6fc08e25 config: x86_64-randconfig-a013 (https://download.01.org/0day-ci/archive/202= 20216/202202162241.DMvnC744-lkp(a)intel.com/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=3D1 build): # https://github.com/0day-ci/linux/commit/a771208a72268cd66099adbc3= 19a42f9d511219e git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Xin-Hao/mm-damon-Add-NUMA-access-s= tatistics-function-support/20220216-163243 git checkout a771208a72268cd66099adbc319a42f9d511219e # save the config file to linux build tree mkdir build_dir make W=3D1 O=3Dbuild_dir ARCH=3Dx86_64 SHELL=3D/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): mm/damon/paddr.c: In function '__damon_pa_mk_set': >> mm/damon/paddr.c:36:6: error: implicit declaration of function 'flush_tl= b_page'; did you mean 'flush_anon_page'? [-Werror=3Dimplicit-function-decla= ration] 36 | flush_tlb_page(vma, addr); | ^~~~~~~~~~~~~~ | flush_anon_page >> mm/damon/paddr.c:45:6: error: implicit declaration of function 'flush_tl= b_range'; did you mean 'flush_pmd_tlb_range'? [-Werror=3Dimplicit-function-= declaration] 45 | flush_tlb_range(vma, haddr, haddr + HPAGE_PMD_SIZE); | ^~~~~~~~~~~~~~~ | flush_pmd_tlb_range cc1: some warnings being treated as errors vim +36 mm/damon/paddr.c 18 = 19 static bool __damon_pa_mk_set(struct page *page, struct vm_area_stru= ct *vma, 20 unsigned long addr, void *arg) 21 { 22 bool result =3D false; 23 struct page_vma_mapped_walk pvmw =3D { 24 .page =3D page, 25 .vma =3D vma, 26 .address =3D addr, 27 }; 28 = 29 while (page_vma_mapped_walk(&pvmw)) { 30 addr =3D pvmw.address; 31 if (pvmw.pte) { 32 damon_ptep_mkold(pvmw.pte, vma->vm_mm, addr); 33 if (nr_online_nodes > 1) { 34 result =3D damon_ptep_mknone(pvmw.pte, vma, addr); 35 if (result) > 36 flush_tlb_page(vma, addr); 37 } 38 } else { 39 damon_pmdp_mkold(pvmw.pmd, vma->vm_mm, addr); 40 if (nr_online_nodes > 1) { 41 result =3D damon_pmdp_mknone(pvmw.pmd, vma, addr); 42 if (result) { 43 unsigned long haddr =3D addr & HPAGE_PMD_MASK; 44 = > 45 flush_tlb_range(vma, haddr, haddr + HPAGE_PMD_SIZE); 46 } 47 } 48 } 49 } 50 return true; 51 } 52 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============7205830592875952245==--