Content-Type: multipart/mixed; boundary="===============8990113959341123993==" MIME-Version: 1.0 From: haoxin To: kbuild-all@lists.01.org Subject: Re: [PATCH V1 2/2] mm/damon/core: remove duplicate check about THP Date: Fri, 16 Sep 2022 09:37:33 +0800 Message-ID: <891e03e1-1071-d1a4-a40c-fe537105b402@linux.alibaba.com> In-Reply-To: <20220915152618.a050c7b55bf786c9e2c823ea@linux-foundation.org> List-Id: --===============8990113959341123993== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable =E5=9C=A8 2022/9/16 =E4=B8=8A=E5=8D=886:26, Andrew Morton =E5=86=99=E9=81= =93: > On Fri, 16 Sep 2022 05:54:56 +0800 kernel test robot wr= ote: > >> Hi Xin, >> >> Thank you for the patch! Yet something to improve: >> >> [auto build test ERROR on akpm-mm/mm-everything] >> >> url: https://github.com/intel-lab-lkp/linux/commits/Xin-Hao/mm-damon-= sysfs-avoid-call-damon_target_has_pid-repeatedly/20220915-230635 >> base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-e= verything >> config: hexagon-randconfig-r002-20220915 (https://download.01.org/0day-c= i/archive/20220916/202209160528.6z2rUbjZ-lkp(a)intel.com/config) >> compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 791= a7ae1ba3efd6bca96338e10ffde557ba83920) >> reproduce (this is a W=3D1 build): >> wget https://raw.githubusercontent.com/intel/lkp-tests/master/s= bin/make.cross -O ~/bin/make.cross >> chmod +x ~/bin/make.cross >> # https://github.com/intel-lab-lkp/linux/commit/7902790b04d0eb7= 4686b55218e8ead191ba5c003 >> git remote add linux-review https://github.com/intel-lab-lkp/li= nux >> git fetch --no-tags linux-review Xin-Hao/mm-damon-sysfs-avoid-c= all-damon_target_has_pid-repeatedly/20220915-230635 >> git checkout 7902790b04d0eb74686b55218e8ead191ba5c003 >> # save the config file >> mkdir build_dir && cp config build_dir/.config >> COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dclang make.cross = W=3D1 O=3Dbuild_dir ARCH=3Dhexagon SHELL=3D/bin/bash mm/damon/ >> >> If you fix the issue, kindly add following tag where applicable >> Reported-by: kernel test robot >> >> All errors (new ones prefixed by >>): >> >>>> mm/damon/vaddr.c:451:7: error: call to undeclared function 'pmd_young'= ; ISO C99 and later do not support implicit function declarations [-Wimplic= it-function-declaration] >> if (pmd_young(*pmd) || !page_is_idle(page) || >> ^ >> mm/damon/vaddr.c:451:7: note: did you mean 'pte_young'? >> arch/hexagon/include/asm/pgtable.h:273:19: note: 'pte_young' declare= d here >> static inline int pte_young(pte_t pte) >> ^ > Thanks. I guess the arch needn't implement pmd_young() if it doesn't > implement THP. > > I dropped the patch. Oh, my bad,=C2=A0 thanks. --===============8990113959341123993==--