CC: [email protected]
CC: [email protected]
TO: Baolin Wang <[email protected]>
CC: Huang Ying <[email protected]>
CC: Andrew Morton <[email protected]>
CC: Linux Memory Management List <[email protected]>

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/[email protected]/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 <[email protected]>
Reported-by: Dan Carpenter <[email protected]>

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/[email protected]
_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to