All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild@lists.01.org
Subject: [hying-caritas:mmotm-2021-12-06 130/268] mm/migrate.c:3041 __disable_all_migrate_targets() warn: we never enter this loop
Date: Sun, 12 Dec 2021 12:44:16 +0800	[thread overview]
Message-ID: <202112121257.Yu9xinF1-lkp@intel.com> (raw)

[-- 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

                 reply	other threads:[~2021-12-12  4:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202112121257.Yu9xinF1-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild@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.