From: kernel test robot <lkp@intel.com>
To: Xin Hao <xhao@linux.alibaba.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org
Subject: Re: [RFC PATCH V1 3/5] mm/damon: Add 'damon_region' NUMA access statistics core implementation
Date: Wed, 16 Feb 2022 20:15:17 +0800 [thread overview]
Message-ID: <202202162010.gxDXd2ex-lkp@intel.com> (raw)
In-Reply-To: <de07c5a70a0a2f5aa86fe92581acd0b3ac8a8e18.1645024354.git.xhao@linux.alibaba.com>
Hi Xin,
[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on linus/master]
[also build test WARNING on v5.17-rc4]
[cannot apply to hnaz-mm/master rostedt-trace/for-next next-20220216]
[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: hexagon-randconfig-r045-20220216 (https://download.01.org/0day-ci/archive/20220216/202202162010.gxDXd2ex-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 0e628a783b935c70c80815db6c061ec84f884af5)
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/f84003da496b71b9f13c4de140de21d70a73a408
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 f84003da496b71b9f13c4de140de21d70a73a408
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash mm/damon/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
mm/damon/core.c:1023:29: error: implicit declaration of function 'damon_get_task_struct' [-Werror,-Wimplicit-function-declaration]
struct task_struct *ts = damon_get_task_struct(t);
^
mm/damon/core.c:1023:29: note: did you mean 'get_task_struct'?
include/linux/sched/task.h:104:35: note: 'get_task_struct' declared here
static inline struct task_struct *get_task_struct(struct task_struct *t)
^
>> mm/damon/core.c:1023:24: warning: incompatible integer to pointer conversion initializing 'struct task_struct *' with an expression of type 'int' [-Wint-conversion]
struct task_struct *ts = damon_get_task_struct(t);
^ ~~~~~~~~~~~~~~~~~~~~~~~~
mm/damon/core.c:1058:6: error: redefinition of 'damon_numa_fault'
void damon_numa_fault(int page_nid, int node_id, struct vm_fault *vmf)
^
include/linux/damon.h:525:20: note: previous definition is here
static inline void damon_numa_fault(int page_nid, int node_id, struct vm_fault *vmf) { }
^
1 warning and 2 errors generated.
vim +1023 mm/damon/core.c
1009
1010 static struct damon_target *get_damon_target(struct task_struct *task)
1011 {
1012 int i;
1013 unsigned long id1, id2;
1014 struct damon_target *t;
1015
1016 rcu_read_lock();
1017 for (i = 0; i < READ_ONCE(dbgfs_nr_ctxs); i++) {
1018 struct damon_ctx *ctx = rcu_dereference(dbgfs_ctxs[i]);
1019
1020 if (!ctx || !ctx->kdamond)
1021 continue;
1022 damon_for_each_target(t, dbgfs_ctxs[i]) {
> 1023 struct task_struct *ts = damon_get_task_struct(t);
1024
1025 if (ts) {
1026 id1 = (unsigned long)pid_vnr((struct pid *)t->id);
1027 id2 = (unsigned long)pid_vnr(get_task_pid(task, PIDTYPE_PID));
1028 put_task_struct(ts);
1029 if (id1 == id2)
1030 return t;
1031 }
1032 }
1033 }
1034 rcu_read_unlock();
1035
1036 return NULL;
1037 }
1038
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [RFC PATCH V1 3/5] mm/damon: Add 'damon_region' NUMA access statistics core implementation
Date: Wed, 16 Feb 2022 20:15:17 +0800 [thread overview]
Message-ID: <202202162010.gxDXd2ex-lkp@intel.com> (raw)
In-Reply-To: <de07c5a70a0a2f5aa86fe92581acd0b3ac8a8e18.1645024354.git.xhao@linux.alibaba.com>
[-- Attachment #1: Type: text/plain, Size: 4056 bytes --]
Hi Xin,
[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on linus/master]
[also build test WARNING on v5.17-rc4]
[cannot apply to hnaz-mm/master rostedt-trace/for-next next-20220216]
[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: hexagon-randconfig-r045-20220216 (https://download.01.org/0day-ci/archive/20220216/202202162010.gxDXd2ex-lkp(a)intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 0e628a783b935c70c80815db6c061ec84f884af5)
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/f84003da496b71b9f13c4de140de21d70a73a408
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 f84003da496b71b9f13c4de140de21d70a73a408
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash mm/damon/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
mm/damon/core.c:1023:29: error: implicit declaration of function 'damon_get_task_struct' [-Werror,-Wimplicit-function-declaration]
struct task_struct *ts = damon_get_task_struct(t);
^
mm/damon/core.c:1023:29: note: did you mean 'get_task_struct'?
include/linux/sched/task.h:104:35: note: 'get_task_struct' declared here
static inline struct task_struct *get_task_struct(struct task_struct *t)
^
>> mm/damon/core.c:1023:24: warning: incompatible integer to pointer conversion initializing 'struct task_struct *' with an expression of type 'int' [-Wint-conversion]
struct task_struct *ts = damon_get_task_struct(t);
^ ~~~~~~~~~~~~~~~~~~~~~~~~
mm/damon/core.c:1058:6: error: redefinition of 'damon_numa_fault'
void damon_numa_fault(int page_nid, int node_id, struct vm_fault *vmf)
^
include/linux/damon.h:525:20: note: previous definition is here
static inline void damon_numa_fault(int page_nid, int node_id, struct vm_fault *vmf) { }
^
1 warning and 2 errors generated.
vim +1023 mm/damon/core.c
1009
1010 static struct damon_target *get_damon_target(struct task_struct *task)
1011 {
1012 int i;
1013 unsigned long id1, id2;
1014 struct damon_target *t;
1015
1016 rcu_read_lock();
1017 for (i = 0; i < READ_ONCE(dbgfs_nr_ctxs); i++) {
1018 struct damon_ctx *ctx = rcu_dereference(dbgfs_ctxs[i]);
1019
1020 if (!ctx || !ctx->kdamond)
1021 continue;
1022 damon_for_each_target(t, dbgfs_ctxs[i]) {
> 1023 struct task_struct *ts = damon_get_task_struct(t);
1024
1025 if (ts) {
1026 id1 = (unsigned long)pid_vnr((struct pid *)t->id);
1027 id2 = (unsigned long)pid_vnr(get_task_pid(task, PIDTYPE_PID));
1028 put_task_struct(ts);
1029 if (id1 == id2)
1030 return t;
1031 }
1032 }
1033 }
1034 rcu_read_unlock();
1035
1036 return NULL;
1037 }
1038
---
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 12:15 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
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 [this message]
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=202202162010.gxDXd2ex-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=llvm@lists.linux.dev \
--cc=xhao@linux.alibaba.com \
/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.