From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3BD28C43334 for ; Thu, 21 Jul 2022 00:05:14 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id BF8A96B0072; Wed, 20 Jul 2022 20:05:13 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id BA8E06B0073; Wed, 20 Jul 2022 20:05:13 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A71126B0074; Wed, 20 Jul 2022 20:05:13 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id 989256B0072 for ; Wed, 20 Jul 2022 20:05:13 -0400 (EDT) Received: from smtpin22.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id 6F4CE407B6 for ; Thu, 21 Jul 2022 00:05:13 +0000 (UTC) X-FDA: 79709162106.22.85EF5C0 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by imf26.hostedemail.com (Postfix) with ESMTP id 7E156140087 for ; Thu, 21 Jul 2022 00:05:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1658361912; x=1689897912; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=vwRr745hsHtS3o5kz19qtXZyc2oZLqSxhcXbyjxxfhI=; b=fuMX0EQ+pbkqKSFTDDSaDkgchde1Z+p0JpfoEquFKGR2xPs5fEl48fSH fqMr56pmxHEgNHg5bBx8HAFXOHFlIQZwPEQbP8AxBR0+BqoKH3bnCSe2I AlmWYQQwDXzsYVR5KkAsLoz7ufSNLaJkqifx6znAzmJhM7d9hnSeCbuSr WUnTiCl4nAlCzVHpJCK1xUfrgcA7eqhOwlJ9iOL2XiUMGYL6ii2uYtm8b X2Q9fK4EutT+a7tOWnL1cgGAMCL38uDRsWnp5j18WX3kjc1Nscrl2UNjt wWG3Lv3j1qGCrjB3TRx0yrfiqMrYqZT71WzF9GmuCz/CwbkVjDu6MoIFn g==; X-IronPort-AV: E=McAfee;i="6400,9594,10414"; a="312619557" X-IronPort-AV: E=Sophos;i="5.92,287,1650956400"; d="scan'208";a="312619557" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jul 2022 17:03:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,287,1650956400"; d="scan'208";a="701066661" Received: from lkp-server01.sh.intel.com (HELO 7dfbdc7c7900) ([10.239.97.150]) by fmsmga002.fm.intel.com with ESMTP; 20 Jul 2022 17:03:11 -0700 Received: from kbuild by 7dfbdc7c7900 with local (Exim 4.95) (envelope-from ) id 1oEJeo-00014z-Mk; Thu, 21 Jul 2022 00:03:10 +0000 Date: Thu, 21 Jul 2022 08:02:22 +0800 From: kernel test robot To: "Aneesh Kumar K.V" , linux-mm@kvack.org, akpm@linux-foundation.org Cc: kbuild-all@lists.01.org, Wei Xu , Huang Ying , Yang Shi , Davidlohr Bueso , Tim C Chen , Michal Hocko , Linux Kernel Mailing List , Hesham Almatary , Dave Hansen , Jonathan Cameron , Alistair Popple , Dan Williams , Johannes Weiner , jvgediya.oss@gmail.com, "Aneesh Kumar K.V" Subject: Re: [PATCH v10 5/8] mm/demotion: Build demotion targets based on explicit memory tiers Message-ID: <202207210723.HeaXhM1j-lkp@intel.com> References: <20220720025920.1373558-6-aneesh.kumar@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220720025920.1373558-6-aneesh.kumar@linux.ibm.com> ARC-Authentication-Results: i=1; imf26.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=fuMX0EQ+; dmarc=pass (policy=none) header.from=intel.com; spf=none (imf26.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 192.55.52.88) smtp.mailfrom=lkp@intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1658361913; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=7qCsnA924j1SuQTRwnYwf5bw7Q5+2EjmHHK6nq3mR0E=; b=kztM/SeqUUcuFjHcvS55GRDbJd04GJfz/IJ/jXLh+ukxi0wib/vMBmN7wNWFLQ1XLp6TQa KhCaVk6e/9ks5ELBVd81nS1SZFXLXBUZ37bQxNEyucYCsbQhx3+bkJ3TjUpp7QGpEhPnq6 oMcC+Wy4uAVFtq94MCbfvka4pY5Laq4= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1658361913; a=rsa-sha256; cv=none; b=m4qgXdoSGm6vqd8lYyZUGUFHkyVEzwbwL3JF+0xxbTiu7iY1d2yoeM7TyNzq1AJJIToiCK n7doFRtlXuZ79MWjCud6r7mUnL1j8IHRO5JJWQtXCZ3FWcXg8T5ul/Yxe8E5an3X+5Etsv HyhckgZ4stiR6BFxSAUEAoz3g66mz0w= X-Rspamd-Queue-Id: 7E156140087 Authentication-Results: imf26.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=fuMX0EQ+; dmarc=pass (policy=none) header.from=intel.com; spf=none (imf26.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 192.55.52.88) smtp.mailfrom=lkp@intel.com X-Rspam-User: X-Rspamd-Server: rspam04 X-Stat-Signature: qcyyziuqm9et746bmyju4xcjbmgzx94j X-HE-Tag: 1658361912-481193 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Hi "Aneesh, I love your patch! Yet something to improve: [auto build test ERROR on akpm-mm/mm-everything] url: https://github.com/intel-lab-lkp/linux/commits/Aneesh-Kumar-K-V/mm-demotion-Memory-tiers-and-demotion/20220720-110356 base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything config: arm64-randconfig-r025-20220718 (https://download.01.org/0day-ci/archive/20220721/202207210723.HeaXhM1j-lkp@intel.com/config) compiler: aarch64-linux-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/b5fc1c467550e9f07b8f128b554a7d68e13628ff git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Aneesh-Kumar-K-V/mm-demotion-Memory-tiers-and-demotion/20220720-110356 git checkout b5fc1c467550e9f07b8f128b554a7d68e13628ff # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All errors (new ones prefixed by >>): mm/memory-tiers.c: In function 'migrate_on_reclaim_init': >> mm/memory-tiers.c:349:17: error: 'node_demotion' undeclared (first use in this function) 349 | node_demotion = kcalloc(MAX_NUMNODES, sizeof(struct demotion_nodes), | ^~~~~~~~~~~~~ mm/memory-tiers.c:349:17: note: each undeclared identifier is reported only once for each function it appears in vim +/node_demotion +349 mm/memory-tiers.c 345 346 static void __init migrate_on_reclaim_init(void) 347 { 348 if (IS_ENABLED(CONFIG_MIGRATION)) { > 349 node_demotion = kcalloc(MAX_NUMNODES, sizeof(struct demotion_nodes), 350 GFP_KERNEL); 351 WARN_ON(!node_demotion); 352 } 353 hotplug_memory_notifier(migrate_on_reclaim_callback, MEMTIER_HOTPLUG_PRIO); 354 } 355 -- 0-DAY CI Kernel Test Service https://01.org/lkp