From: kernel test robot <lkp@intel.com>
To: wangchuanguo <wangchuanguo@inspur.com>,
akpm@linux-foundation.org, hannes@cmpxchg.org, sj@kernel.org
Cc: oe-kbuild-all@lists.linux.dev, david@redhat.com,
mhocko@kernel.org, zhengqi.arch@bytedance.com,
shakeel.butt@linux.dev, lorenzo.stoakes@oracle.com,
linux-mm@kvack.org, linux-kernel@vger.kernel.org,
damon@lists.linux.dev, wangchuanguo <wangchuanguo@inspur.com>
Subject: Re: [PATCH 2/2] mm/damon/sysfs-schemes: add use_nodes_of_tier on sysfs-schemes
Date: Thu, 29 May 2025 05:33:18 +0800 [thread overview]
Message-ID: <202505290538.2zlscryI-lkp@intel.com> (raw)
In-Reply-To: <20250528111038.18378-3-wangchuanguo@inspur.com>
Hi wangchuanguo,
kernel test robot noticed the following build errors:
[auto build test ERROR on akpm-mm/mm-everything]
[also build test ERROR on sj/damon/next next-20250528]
[cannot apply to linus/master v6.15]
[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#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/wangchuanguo/mm-migrate-restore-the-nmask-after-successfully-allocating-on-the-target-node/20250528-191141
base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything
patch link: https://lore.kernel.org/r/20250528111038.18378-3-wangchuanguo%40inspur.com
patch subject: [PATCH 2/2] mm/damon/sysfs-schemes: add use_nodes_of_tier on sysfs-schemes
config: arc-randconfig-002-20250529 (https://download.01.org/0day-ci/archive/20250529/202505290538.2zlscryI-lkp@intel.com/config)
compiler: arc-linux-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250529/202505290538.2zlscryI-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202505290538.2zlscryI-lkp@intel.com/
All errors (new ones prefixed by >>):
mm/damon/paddr.c: In function '__damon_pa_migrate_folio_list':
>> mm/damon/paddr.c:409:18: error: implicit declaration of function 'get_tier_nodemask'; did you mean 'set_user_sigmask'? [-Werror=implicit-function-declaration]
allowed_mask = get_tier_nodemask(target_nid);
^~~~~~~~~~~~~~~~~
set_user_sigmask
>> mm/damon/paddr.c:409:16: error: incompatible types when assigning to type 'nodemask_t' {aka 'struct <anonymous>'} from type 'int'
allowed_mask = get_tier_nodemask(target_nid);
^
cc1: some warnings being treated as errors
vim +409 mm/damon/paddr.c
383
384 static unsigned int __damon_pa_migrate_folio_list(
385 struct list_head *migrate_folios, struct pglist_data *pgdat,
386 int target_nid, bool use_nodes_of_tier)
387 {
388 unsigned int nr_succeeded = 0;
389 nodemask_t allowed_mask = NODE_MASK_NONE;
390 struct migration_target_control mtc = {
391 /*
392 * Allocate from 'node', or fail quickly and quietly.
393 * When this happens, 'page' will likely just be discarded
394 * instead of migrated.
395 */
396 .gfp_mask = (GFP_HIGHUSER_MOVABLE & ~__GFP_RECLAIM) |
397 __GFP_NOWARN | __GFP_NOMEMALLOC | GFP_NOWAIT,
398 .nid = target_nid,
399 .nmask = &allowed_mask
400 };
401
402 if (pgdat->node_id == target_nid || target_nid == NUMA_NO_NODE)
403 return 0;
404
405 if (list_empty(migrate_folios))
406 return 0;
407
408 if (use_nodes_of_tier)
> 409 allowed_mask = get_tier_nodemask(target_nid);
410
411 /* Migration ignores all cpuset and mempolicy settings */
412 migrate_pages(migrate_folios, alloc_migrate_folio, NULL,
413 (unsigned long)&mtc, MIGRATE_ASYNC, MR_DAMON,
414 &nr_succeeded);
415
416 return nr_succeeded;
417 }
418
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2025-05-28 21:34 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-28 11:10 [PATCH 0/2] add a knob to control whether to use other nodes at the same tier of the target node in DAMON wangchuanguo
2025-05-28 11:10 ` [PATCH 1/2] mm: migrate: restore the nmask after successfully allocating on the target node wangchuanguo
2025-05-28 22:09 ` SeongJae Park
2025-05-28 11:10 ` [PATCH 2/2] mm/damon/sysfs-schemes: add use_nodes_of_tier on sysfs-schemes wangchuanguo
2025-05-28 21:33 ` kernel test robot [this message]
2025-05-28 22:31 ` SeongJae Park
2025-06-09 12:30 ` Honggyu Kim
2025-05-28 22:39 ` [PATCH 0/2] add a knob to control whether to use other nodes at the same tier of the target node in DAMON SeongJae Park
2025-05-29 3:12 [PATCH 2/2] mm/damon/sysfs-schemes: add use_nodes_of_tier on sysfs-schemes Simon Wang (王传国)
2025-05-29 16:46 ` SeongJae Park
2025-05-30 8:04 Simon Wang (王传国)
2025-05-30 19:40 ` SeongJae Park
2025-06-03 3:05 ` wangchuanguo
2025-06-05 18:20 ` SeongJae Park
2025-06-09 12:39 ` Honggyu Kim
2025-06-09 19:13 ` 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=202505290538.2zlscryI-lkp@intel.com \
--to=lkp@intel.com \
--cc=akpm@linux-foundation.org \
--cc=damon@lists.linux.dev \
--cc=david@redhat.com \
--cc=hannes@cmpxchg.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=lorenzo.stoakes@oracle.com \
--cc=mhocko@kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=shakeel.butt@linux.dev \
--cc=sj@kernel.org \
--cc=wangchuanguo@inspur.com \
--cc=zhengqi.arch@bytedance.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox