From: kernel test robot <lkp@intel.com>
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 [thread overview]
Message-ID: <202202162241.DMvnC744-lkp@intel.com> (raw)
In-Reply-To: <35c8c45267c6f2f5b6ec3559592342685106d39e.1645024354.git.xhao@linux.alibaba.com>
[-- Attachment #1: Type: text/plain, Size: 3386 bytes --]
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/20220216/202202162241.DMvnC744-lkp(a)intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/0day-ci/linux/commit/a771208a72268cd66099adbc319a42f9d511219e
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Xin-Hao/mm-damon-Add-NUMA-access-statistics-function-support/20220216-163243
git checkout a771208a72268cd66099adbc319a42f9d511219e
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
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_tlb_page'; did you mean 'flush_anon_page'? [-Werror=implicit-function-declaration]
36 | flush_tlb_page(vma, addr);
| ^~~~~~~~~~~~~~
| flush_anon_page
>> mm/damon/paddr.c:45:6: error: implicit declaration of function 'flush_tlb_range'; did you mean 'flush_pmd_tlb_range'? [-Werror=implicit-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_struct *vma,
20 unsigned long addr, void *arg)
21 {
22 bool result = false;
23 struct page_vma_mapped_walk pvmw = {
24 .page = page,
25 .vma = vma,
26 .address = addr,
27 };
28
29 while (page_vma_mapped_walk(&pvmw)) {
30 addr = pvmw.address;
31 if (pvmw.pte) {
32 damon_ptep_mkold(pvmw.pte, vma->vm_mm, addr);
33 if (nr_online_nodes > 1) {
34 result = 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 = damon_pmdp_mknone(pvmw.pmd, vma, addr);
42 if (result) {
43 unsigned long haddr = 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
next prev parent reply other threads:[~2022-02-16 14:49 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-16 8:30 [RFC PATCH V1 0/5] mm/damon: Add NUMA access statistics function support Xin Hao
2022-02-16 8:30 ` [RFC PATCH V1 1/5] mm/damon: Add NUMA local and remote variables in 'damon_region' Xin Hao
2022-02-16 8:30 ` [RFC PATCH V1 2/5] mm/damon: Add 'damon_region' NUMA fault simulation support Xin Hao
2022-02-16 14:49 ` kernel test robot [this message]
2022-02-16 8:30 ` [RFC PATCH V1 3/5] mm/damon: Add 'damon_region' NUMA access statistics core implementation Xin Hao
2022-02-16 12:15 ` kernel test robot
2022-02-16 12:15 ` kernel test robot
2022-02-16 13:06 ` kernel test robot
2022-02-16 8:30 ` [RFC PATCH V1 4/5] mm/damon/dbgfs: Add numa simulate switch Xin Hao
2022-02-16 8:30 ` [RFC PATCH V1 5/5] mm/damon/tracepoint: Add 'damon_region' NUMA access statistics support Xin Hao
2022-02-17 8:29 ` [RFC PATCH V1 0/5] mm/damon: Add NUMA access statistics function support SeongJae Park
2022-02-18 2:21 ` Xin Hao
2022-02-18 8:03 ` SeongJae Park
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202202162241.DMvnC744-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.