All of lore.kernel.org
 help / color / mirror / Atom feed
* [hying-caritas:mmotm-2021-12-06 130/268] mm/migrate.c:3041 __disable_all_migrate_targets() warn: we never enter this loop
@ 2021-12-12  4:44 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-12-12  4:44 UTC (permalink / raw)
  To: kbuild

[-- Attachment #1: Type: text/plain, Size: 2255 bytes --]

CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Baolin Wang <baolin.wang@linux.alibaba.com>
CC: Huang Ying <ying.huang@intel.com>
CC: Andrew Morton <akpm@linux-foundation.org>
CC: Linux Memory Management List <linux-mm@kvack.org>

tree:   https://github.com/hying-caritas/linux.git mmotm-2021-12-06
head:   a57b74d47d00793cb27918be5147ede2ece3a37b
commit: ba7efa487a79bf9a2524936c6d9e0482e3b597e9 [130/268] mm: migrate: support multiple target nodes demotion
:::::: branch date: 3 days ago
:::::: commit date: 3 days ago
config: i386-randconfig-m021-20211209 (https://download.01.org/0day-ci/archive/20211212/202112121257.Yu9xinF1-lkp(a)intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>

smatch warnings:
mm/migrate.c:3041 __disable_all_migrate_targets() warn: we never enter this loop

vim +3041 mm/migrate.c

79c28a41672278 Dave Hansen 2021-09-02  3029  
76af6a054da405 Dave Hansen 2021-10-18  3030  #if defined(CONFIG_HOTPLUG_CPU)
79c28a41672278 Dave Hansen 2021-09-02  3031  /* Disable reclaim-based migration. */
79c28a41672278 Dave Hansen 2021-09-02  3032  static void __disable_all_migrate_targets(void)
79c28a41672278 Dave Hansen 2021-09-02  3033  {
ba7efa487a79bf Baolin Wang 2021-12-09  3034  	int node, i;
79c28a41672278 Dave Hansen 2021-09-02  3035  
ba7efa487a79bf Baolin Wang 2021-12-09  3036  	if (!node_demotion)
ba7efa487a79bf Baolin Wang 2021-12-09  3037  		return;
ba7efa487a79bf Baolin Wang 2021-12-09  3038  
ba7efa487a79bf Baolin Wang 2021-12-09  3039  	for_each_online_node(node) {
ba7efa487a79bf Baolin Wang 2021-12-09  3040  		node_demotion[node].nr = 0;
ba7efa487a79bf Baolin Wang 2021-12-09 @3041  		for (i = 0; i < DEMOTION_TARGET_NODES; i++)
ba7efa487a79bf Baolin Wang 2021-12-09  3042  			node_demotion[node].nodes[i] = NUMA_NO_NODE;
ba7efa487a79bf Baolin Wang 2021-12-09  3043  	}
79c28a41672278 Dave Hansen 2021-09-02  3044  }
79c28a41672278 Dave Hansen 2021-09-02  3045  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-12-12  4:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-12  4:44 [hying-caritas:mmotm-2021-12-06 130/268] mm/migrate.c:3041 __disable_all_migrate_targets() warn: we never enter this loop kernel test robot

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.