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 7A29CC6FA81 for ; Fri, 2 Sep 2022 04:49:06 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id A533F800B1; Fri, 2 Sep 2022 00:49:05 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id A02798008D; Fri, 2 Sep 2022 00:49:05 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 8F141800B1; Fri, 2 Sep 2022 00:49:05 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id 810028008D for ; Fri, 2 Sep 2022 00:49:05 -0400 (EDT) Received: from smtpin18.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id 5612A16051D for ; Fri, 2 Sep 2022 04:49:05 +0000 (UTC) X-FDA: 79865915850.18.A64266E Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by imf27.hostedemail.com (Postfix) with ESMTP id 9F9CB40088 for ; Fri, 2 Sep 2022 04:49:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1662094144; x=1693630144; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=uWWeTrRXwjpOrChuGrhJNnY+K0/3p8HKfIFEywc8td8=; b=G+hJLXTbb24RCdJKYnfQtSA6eBgaAew37siGUiDyCOWAyfyVsxKfsTNG M8RijBCD9g56oJslQ0hGgqS4W0K6Crskg9Oa0dRraEmc39iEhN1OSB3C4 C6qHwIVAJqASNb0tS+cvJha2Llx+XFJxafZmtxkDdkQR0SY1byFfVA5+v e6HkAuwqexPvX86h7rQXfRlkuS3kBCZTTixM4ntx8TEywcniERuy/DKjM uS6yKgU+vvKLC7ZeWSXzGrPqbG9Z+1dqUp63DPbXruZ5Ct6LDCzOQgFhF n0+VaVdPp6xBQMw91TsIOAVuI7iqW4b6jxJ7/kMQ5NrHspluxP/meCdSR w==; X-IronPort-AV: E=McAfee;i="6500,9779,10457"; a="296676295" X-IronPort-AV: E=Sophos;i="5.93,281,1654585200"; d="scan'208";a="296676295" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Sep 2022 21:49:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,281,1654585200"; d="scan'208";a="645960524" Received: from lkp-server02.sh.intel.com (HELO fccc941c3034) ([10.239.97.151]) by orsmga001.jf.intel.com with ESMTP; 01 Sep 2022 21:48:59 -0700 Received: from kbuild by fccc941c3034 with local (Exim 4.96) (envelope-from ) id 1oTybz-00009b-0G; Fri, 02 Sep 2022 04:48:59 +0000 Date: Fri, 2 Sep 2022 12:48:26 +0800 From: kernel test robot To: Muchun Song , gregkh@linuxfoundation.org, rafael@kernel.org, mike.kravetz@oracle.com, akpm@linux-foundation.org, osalvador@suse.de, david@redhat.com, ying.huang@intel.com, aneesh.kumar@linux.ibm.com, rientjes@google.com Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH] mm: hugetlb: eliminate memory-less nodes handling Message-ID: <202209021255.1ChhyCsl-lkp@intel.com> References: <20220901083023.42319-1-songmuchun@bytedance.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220901083023.42319-1-songmuchun@bytedance.com> ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1662094144; 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=O26/BGWU2Npui+JmnYsTioaH5IVwiFURJ52CJeN0eHI=; b=slZou4peyCa3Cf+6m7GxGffPq+W6NyV+cAgVVjftwDGUFXjNKnAGY6NuSf6x66D+JoPZPd ID2hh8wQi2t6RxA2H4GyaoSY7Uz5YzU+4Aam0yy4DHDeMC3lkVuozpxMRwpjLfdn0k1UCU 9sqI6LWmUEXuBMvN7QNaU+L/IdNsdF4= ARC-Authentication-Results: i=1; imf27.hostedemail.com; dkim=none ("invalid DKIM record") header.d=intel.com header.s=Intel header.b=G+hJLXTb; spf=softfail (imf27.hostedemail.com: 134.134.136.24 is neither permitted nor denied by domain of lkp@intel.com) smtp.mailfrom=lkp@intel.com; dmarc=fail reason="No valid SPF" header.from=intel.com (policy=none) ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1662094144; a=rsa-sha256; cv=none; b=KD6tJJhCSSMryku1qPVbZ1Qva7Gg99BTuI9IFou2GN9Ywvupv+OVSy+p/TGKmLZKhAaW1m dvVbEJHE+dRNCAEtYdnJK7yyv0KrMHWgf1bj6ndWfGIq2E//JRsmPkizSmA1lZqJLsu2n8 BvdXoCBOfxVrS6S5vrsaSA9Wnk9UbNs= X-Stat-Signature: w7q5hyxnmd9ggo6jzgkf9yae83hcbgkk X-Rspamd-Queue-Id: 9F9CB40088 Authentication-Results: imf27.hostedemail.com; dkim=none ("invalid DKIM record") header.d=intel.com header.s=Intel header.b=G+hJLXTb; spf=softfail (imf27.hostedemail.com: 134.134.136.24 is neither permitted nor denied by domain of lkp@intel.com) smtp.mailfrom=lkp@intel.com; dmarc=fail reason="No valid SPF" header.from=intel.com (policy=none) X-Rspamd-Server: rspam12 X-Rspam-User: X-HE-Tag: 1662094144-516572 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 Muchun, 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/Muchun-Song/mm-hugetlb-eliminate-memory-less-nodes-handling/20220901-163132 base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything config: loongarch-buildonly-randconfig-r004-20220901 (https://download.01.org/0day-ci/archive/20220902/202209021255.1ChhyCsl-lkp@intel.com/config) compiler: loongarch64-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/8e3d203cb06be81565d117b3f6d5e279a833174c git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Muchun-Song/mm-hugetlb-eliminate-memory-less-nodes-handling/20220901-163132 git checkout 8e3d203cb06be81565d117b3f6d5e279a833174c # save the config file COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 ARCH=loongarch If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All errors (new ones prefixed by >>): drivers/base/node.c: In function 'register_node': >> drivers/base/node.c:614:17: error: implicit declaration of function 'hugetlb_register_node'; did you mean 'unregister_node'? [-Werror=implicit-function-declaration] 614 | hugetlb_register_node(node); | ^~~~~~~~~~~~~~~~~~~~~ | unregister_node drivers/base/node.c: In function 'unregister_node': >> drivers/base/node.c:630:9: error: implicit declaration of function 'hugetlb_unregister_node'; did you mean 'unregister_node'? [-Werror=implicit-function-declaration] 630 | hugetlb_unregister_node(node); | ^~~~~~~~~~~~~~~~~~~~~~~ | unregister_node cc1: some warnings being treated as errors vim +614 drivers/base/node.c 594 595 /* 596 * register_node - Setup a sysfs device for a node. 597 * @num - Node number to use when creating the device. 598 * 599 * Initialize and register the node device. 600 */ 601 static int register_node(struct node *node, int num) 602 { 603 int error; 604 605 node->dev.id = num; 606 node->dev.bus = &node_subsys; 607 node->dev.release = node_device_release; 608 node->dev.groups = node_dev_groups; 609 error = device_register(&node->dev); 610 611 if (error) { 612 put_device(&node->dev); 613 } else { > 614 hugetlb_register_node(node); 615 compaction_register_node(node); 616 } 617 618 return error; 619 } 620 621 /** 622 * unregister_node - unregister a node device 623 * @node: node going away 624 * 625 * Unregisters a node device @node. All the devices on the node must be 626 * unregistered before calling this function. 627 */ 628 void unregister_node(struct node *node) 629 { > 630 hugetlb_unregister_node(node); 631 compaction_unregister_node(node); 632 node_remove_accesses(node); 633 node_remove_caches(node); 634 device_unregister(&node->dev); 635 } 636 -- 0-DAY CI Kernel Test Service https://01.org/lkp