Received: by 2002:ab2:2994:0:b0:1ef:ca3e:3cd5 with SMTP id n20csp26944lqb; Thu, 14 Mar 2024 04:42:00 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVlLqCZUEIWtu0sTtQ1wRLWt1xnVBZza+VOyewe5lHkBqyTLG20/5Sl555deV3o7NEBZ9mbykR/EC5jI+3QeAohYpO2vqix66n6683aLQ== X-Google-Smtp-Source: AGHT+IF5Wj4cpBPkFhjEDV/lmo/ntvZcJvSK3lm4OTahwnNIMNLRt+xCqa4KXzeoM2LtNJeo0Bnx X-Received: by 2002:a17:90a:ca81:b0:29c:783b:d3cf with SMTP id y1-20020a17090aca8100b0029c783bd3cfmr1370948pjt.10.1710416520537; Thu, 14 Mar 2024 04:42:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710416520; cv=pass; d=google.com; s=arc-20160816; b=o1ntfiaUiz51U3KvFDqoroswjKMyfwYaLvedupYi3ffxk6neJJJ/0Q68Kx4x9Dh3sm Hq8hjVbJ9K04v3WVaV2VBBypQbzT5X3Ak7v295g55wNKNJua5V+ALWMy/Seg9ayO+Qi7 T8zkv9alcmkWNB5ZOJWTlNcQG2kmWEexAefdg9dPERdsVyYOWHqs78OhYnr/vGqXBT6R DgPtkQSNrtEYYwR1az+6ItFGhMcenST18ETUomcdKHmHBwjITi4ddNGfCKmKln0DQfte d+1DuhysIUQtYn4xeUGxioimA38AR5dnlwMTxrrk6iZt4JSQ3DofBuAwKPYvzHPbBjHW nq1A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=pePyZyq929Ti6xsOSoyY0/B1YQkuh1WhO/SPQtZDPhE=; fh=mCbEfup8gFVUccRpeq0W6lROhKjCBIDlWIKOBbaJtBY=; b=G5uCSWuKCTiA5vx5fZrYb5tc3NmNU03v5FP3e0lJM/SdJfYf6WaGN8IBVftYoeQhH4 po6YjHk9AUPqSMu2RsOx+bgbwKwqDABVAiB273br6w1mANYDI7D42VnqdzaDiFandfZA wR9m+MLZGAZSYtIWltybjLIQhGAnHODRp54uyr73nWbOQPX9y2Ma6EyKWqLNrpiMvmaB pmQ6B/iWvKKJceaX3Y5l/cwHSoS6yLUOo46isDlHpiX9ap8oJVxY+87gwqdVZq4OInRj UczzSPWViYme617zu5gOHtPLj8QIVMdMybxRvp0GbLE6JjGmBLoWkS5OTf5KxCjzeGJf 35Og==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=im0sBbs5; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-103186-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-103186-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id lr15-20020a17090b4b8f00b0029b95e7e868si493782pjb.14.2024.03.14.04.42.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Mar 2024 04:42:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-103186-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=im0sBbs5; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-103186-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-103186-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 8847FB23FAA for ; Thu, 14 Mar 2024 11:40:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 011436EB74; Thu, 14 Mar 2024 11:40:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="im0sBbs5" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 35BC46DCF5 for ; Thu, 14 Mar 2024 11:40:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.12 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710416432; cv=none; b=L3JD6BO65eIAJ0QB7PYhIn5fML93qcql1rnBsOZSHe7o8K96loG6CGgZ5HzkGBqOGPW4/yR8HSLw/DNFD+8sGlm56GQWmNGAdgZ60iENkWf/Nx32sjvniMjINDWt3nhk2hSX9r78ui1hrnsAxFkjHpnCzVKz0b9rZSUrfAGgpz8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710416432; c=relaxed/simple; bh=gKTcjdFrr1i6/462Q9B2PQQrObiqbNl2aiA7L8ANI+o=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=dSg9xpoieOXCHClFNOYjM3kQw+yX4qqmmL3EVYH0bb/wLKdEYtBP/M8HmgaOO9sgyWe/PkW1TIIuGhMNEDuE/YzdX1dfvJW8fAWgNWWm2vJ2/CSoEiIC9FA45JtrejAuvGjuStUCnWFIAJLeZwB6SbX7hqcgL0pPFNKOFrg8jqI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=im0sBbs5; arc=none smtp.client-ip=192.198.163.12 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1710416430; x=1741952430; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=gKTcjdFrr1i6/462Q9B2PQQrObiqbNl2aiA7L8ANI+o=; b=im0sBbs5qfmxawwbed+0O8MRDZXIfnct0GG5g+62oj5hzBMt1FGsVp9Z VYT0FaeNIcZ2uQuXB+Z//bWfwoZ6S5fqEX3G6eEfgAYC4CNhgTT0qoWgl Naz8gysNiE+WNEY2hjRxAIPJk/R5tQL0RZqGnpU8J5NfLnQx31d7/1LmE /HAuO2vbKM8WPurOSGz/knkvOWODEFbVkpPvha95LUG0KIS2/ON6CHyG4 kv1qMUQBAlPw0P0zIks7+0tjC0zpj8/9RCvHuWXKBQdJTzc6q+GXrByeW mvxvcBcfooZ2jQUreA868ntUY9jd24I+f9PnoyxGnQoyK4RiKdfZgQp0h A==; X-IronPort-AV: E=McAfee;i="6600,9927,11012"; a="9006089" X-IronPort-AV: E=Sophos;i="6.07,125,1708416000"; d="scan'208";a="9006089" Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by fmvoesa106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Mar 2024 04:40:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,125,1708416000"; d="scan'208";a="43298849" Received: from lkp-server01.sh.intel.com (HELO b21307750695) ([10.239.97.150]) by fmviesa001.fm.intel.com with ESMTP; 14 Mar 2024 04:40:27 -0700 Received: from kbuild by b21307750695 with local (Exim 4.96) (envelope-from ) id 1rkjRg-000DNn-0P; Thu, 14 Mar 2024 11:40:24 +0000 Date: Thu, 14 Mar 2024 19:40:04 +0800 From: kernel test robot To: Luis Chamberlain , akpm@linux-foundation.org, jhubbard@nvidia.com, vbabka@suse.cz, mgorman@suse.de, linux-mm@kvack.org Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, dave@stgolabs.net, p.raghav@samsung.com, da.gomez@samsung.com, mcgrof@kernel.org Subject: Re: [PATCH 2/3] mm/compaction: add and use for_each_populated_zone_pgdat() helper Message-ID: <202403141931.2XJWI4fa-lkp@intel.com> References: <20240314005436.2962962-3-mcgrof@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240314005436.2962962-3-mcgrof@kernel.org> Hi Luis, kernel test robot noticed the following build warnings: [auto build test WARNING on akpm-mm/mm-everything] url: https://github.com/intel-lab-lkp/linux/commits/Luis-Chamberlain/mm-show_mem-simplify-ifdef-on-si_meminfo_node/20240314-085917 base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything patch link: https://lore.kernel.org/r/20240314005436.2962962-3-mcgrof%40kernel.org patch subject: [PATCH 2/3] mm/compaction: add and use for_each_populated_zone_pgdat() helper config: openrisc-defconfig (https://download.01.org/0day-ci/archive/20240314/202403141931.2XJWI4fa-lkp@intel.com/config) compiler: or1k-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240314/202403141931.2XJWI4fa-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 | Closes: https://lore.kernel.org/oe-kbuild-all/202403141931.2XJWI4fa-lkp@intel.com/ All warnings (new ones prefixed by >>): mm/compaction.c: In function 'fragmentation_score_node': >> mm/compaction.c:2252:13: warning: unused variable 'zoneid' [-Wunused-variable] 2252 | int zoneid; | ^~~~~~ vim +/zoneid +2252 mm/compaction.c 2240 2241 /* 2242 * The per-node proactive (background) compaction process is started by its 2243 * corresponding kcompactd thread when the node's fragmentation score 2244 * exceeds the high threshold. The compaction process remains active till 2245 * the node's score falls below the low threshold, or one of the back-off 2246 * conditions is met. 2247 */ 2248 static unsigned int fragmentation_score_node(pg_data_t *pgdat) 2249 { 2250 unsigned int score = 0; 2251 struct zone *zone; > 2252 int zoneid; 2253 2254 for_each_populated_zone_pgdat(zone, pgdat) 2255 score += fragmentation_score_zone_weighted(zone); 2256 2257 return score; 2258 } 2259 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki