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 E92FCC6FD1D for ; Wed, 15 Mar 2023 15:09:45 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 1972B6B0074; Wed, 15 Mar 2023 11:09:45 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 147FC6B0075; Wed, 15 Mar 2023 11:09:45 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 010296B007B; Wed, 15 Mar 2023 11:09:44 -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 E408E6B0074 for ; Wed, 15 Mar 2023 11:09:44 -0400 (EDT) Received: from smtpin15.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id ADBEA161140 for ; Wed, 15 Mar 2023 15:09:44 +0000 (UTC) X-FDA: 80571467088.15.A6C73B0 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by imf03.hostedemail.com (Postfix) with ESMTP id 495D620014 for ; Wed, 15 Mar 2023 15:09:41 +0000 (UTC) Authentication-Results: imf03.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=TIFPBIfn; spf=pass (imf03.hostedemail.com: domain of lkp@intel.com designates 134.134.136.100 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1678892982; 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=Ini2+ujL04fpWBlLzYEgWjTN7ZnjWzA+A79WIAgAvW8=; b=e8peHwqGh8aPnpkmRIIXa2kffw8o1yVFYALYu30YHSl+qB1yI8d4dK+0K5NT2WtG7C6gIL 9LbxQ84vAjJqh6PVCRodzdLCLENxCfTLBkM0mKOr9T/5DUnhDjTVp4LnuSxV6tZeo8IKX/ a3MOi50OuNx+V5vcQZCTCcvUA8a5RfI= ARC-Authentication-Results: i=1; imf03.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=TIFPBIfn; spf=pass (imf03.hostedemail.com: domain of lkp@intel.com designates 134.134.136.100 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1678892982; a=rsa-sha256; cv=none; b=UpKtOXifnMWjzXhd4L4j2wrqErK7AZrrP43m8cRnHGyanLYlV2e/126VmiZPjt3H5dDEGN PsnVwuuyjTD59IyKiEr48dtSzvWgs7xqEJsD5YdBHGyFkiVaBmnEEbLAmKA6aSysoRHID5 APjAYhweMRxia3mftbLfeWGaghA2CM0= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1678892981; x=1710428981; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=5NuMuo1ja/MmNbvMIOTlFS5JYqzd32pXaq+oo+UalMo=; b=TIFPBIfn2UejfEiSw4q35yGPSE5V0g4pI2i/cof2t5M4F55oeXK24JiZ TYbJ43phz+gqaSgBrnMjxl28OwkGJVL1X2CzW6WSv/j3DKdMcuefD85eX nndewTUOJqRq+7/uXYWKsI5TyofpfsRaQLmkhX0CHt2rV7bZ6k8jwDoD5 l1DHlYB1CXwvcrok4aRHRr5vyHBNnBdCA01862ndKOJxzsKv4h/BWp5i0 w8H0tniQfHSIUanmBuwCDhn2wBHEIYZlOovX1BrorWgsf9OhzuX0RI7m9 PIiDHIuuuLBEmjYkhmzBoDqKYGh/ivqAI/ZubqCs02AgmeO3o//9841D4 A==; X-IronPort-AV: E=McAfee;i="6500,9779,10650"; a="402598870" X-IronPort-AV: E=Sophos;i="5.98,262,1673942400"; d="scan'208";a="402598870" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Mar 2023 08:06:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10650"; a="822809512" X-IronPort-AV: E=Sophos;i="5.98,262,1673942400"; d="scan'208";a="822809512" Received: from lkp-server01.sh.intel.com (HELO b613635ddfff) ([10.239.97.150]) by fmsmga001.fm.intel.com with ESMTP; 15 Mar 2023 08:06:54 -0700 Received: from kbuild by b613635ddfff with local (Exim 4.96) (envelope-from ) id 1pcSiL-0007nz-2Y; Wed, 15 Mar 2023 15:06:53 +0000 Date: Wed, 15 Mar 2023 23:06:21 +0800 From: kernel test robot To: "Kirill A. Shutemov" , Andrew Morton , Mel Gorman , Vlastimil Babka , David Hildenbrand Cc: oe-kbuild-all@lists.linux.dev, Linux Memory Management List , linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, "Kirill A. Shutemov" Subject: Re: [PATCH 10/10] mm, treewide: Redefine MAX_ORDER sanely Message-ID: <202303152251.0kYjWIXW-lkp@intel.com> References: <20230315113133.11326-11-kirill.shutemov@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230315113133.11326-11-kirill.shutemov@linux.intel.com> X-Rspam-User: X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: 495D620014 X-Stat-Signature: an5u1goh8yx664y4juxm4477jbbn7upc X-HE-Tag: 1678892981-832105 X-HE-Meta: U2FsdGVkX19tUwtu1YUxiaEtLoKyrnuMFvyQmn2akVl+m1fEUAcxvAGMrwCPfrix36TXqEbxc663ViCD6nHqmyfWhvmiWcgmC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IChq6J66n18mOWobstkv9c5bBVJbXWw3ilCLYS5fbYO6z3IN6DfyhLTR5bRA929S91LVrGn4E+uc+wIjXuvWGaMr12Mjb9/hHkQrn7xIpIJZEIK9RsgE+ttx9d+HN3zVu8qav5kJX3EmDmX3wtTh8skZZPUGF8bZ2AcnYb/g4aYCoTYyd2ayfviLJ3ppquPf1RkyzHlWIcrz6IFaLgnOrMSLtF3bzjIJEVwuqCVSjUaa2KFVF1Gr27BJb/V8dupjWaVqflXoDgKp7wT/P2EdKC9aAS8SodPlCpRKSNx5XBczWrO5WUQr4rJKL6mvLICpdCB448rxFfg== 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 Kirill, Thank you for the patch! Yet something to improve: [auto build test ERROR on akpm-mm/mm-everything] [also build test ERROR on powerpc/next powerpc/fixes linus/master v6.3-rc2 next-20230315] [cannot apply to davem-sparc/master] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Kirill-A-Shutemov/sparc-mm-Fix-MAX_ORDER-usage-in-tsb_grow/20230315-193254 base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything patch link: https://lore.kernel.org/r/20230315113133.11326-11-kirill.shutemov%40linux.intel.com patch subject: [PATCH 10/10] mm, treewide: Redefine MAX_ORDER sanely config: mips-randconfig-r015-20230313 (https://download.01.org/0day-ci/archive/20230315/202303152251.0kYjWIXW-lkp@intel.com/config) compiler: mips64el-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/ccefb5df94c3c6c966f6f583d60c9d9c832b7a34 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Kirill-A-Shutemov/sparc-mm-Fix-MAX_ORDER-usage-in-tsb_grow/20230315-193254 git checkout ccefb5df94c3c6c966f6f583d60c9d9c832b7a34 # 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=mips olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=mips prepare If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202303152251.0kYjWIXW-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from include/linux/gfp.h:7, from include/linux/xarray.h:15, from include/linux/list_lru.h:14, from include/linux/fs.h:13, from include/linux/compat.h:17, from arch/mips/kernel/asm-offsets.c:12: >> include/linux/mmzone.h:1749:2: error: #error Allocator MAX_ORDER exceeds SECTION_SIZE 1749 | #error Allocator MAX_ORDER exceeds SECTION_SIZE | ^~~~~ arch/mips/kernel/asm-offsets.c:26:6: warning: no previous prototype for 'output_ptreg_defines' [-Wmissing-prototypes] 26 | void output_ptreg_defines(void) | ^~~~~~~~~~~~~~~~~~~~ arch/mips/kernel/asm-offsets.c:78:6: warning: no previous prototype for 'output_task_defines' [-Wmissing-prototypes] 78 | void output_task_defines(void) | ^~~~~~~~~~~~~~~~~~~ arch/mips/kernel/asm-offsets.c:92:6: warning: no previous prototype for 'output_thread_info_defines' [-Wmissing-prototypes] 92 | void output_thread_info_defines(void) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ arch/mips/kernel/asm-offsets.c:108:6: warning: no previous prototype for 'output_thread_defines' [-Wmissing-prototypes] 108 | void output_thread_defines(void) | ^~~~~~~~~~~~~~~~~~~~~ arch/mips/kernel/asm-offsets.c:136:6: warning: no previous prototype for 'output_thread_fpu_defines' [-Wmissing-prototypes] 136 | void output_thread_fpu_defines(void) | ^~~~~~~~~~~~~~~~~~~~~~~~~ arch/mips/kernel/asm-offsets.c:179:6: warning: no previous prototype for 'output_mm_defines' [-Wmissing-prototypes] 179 | void output_mm_defines(void) | ^~~~~~~~~~~~~~~~~ arch/mips/kernel/asm-offsets.c:235:6: warning: no previous prototype for 'output_sc_defines' [-Wmissing-prototypes] 235 | void output_sc_defines(void) | ^~~~~~~~~~~~~~~~~ arch/mips/kernel/asm-offsets.c:248:6: warning: no previous prototype for 'output_signal_defined' [-Wmissing-prototypes] 248 | void output_signal_defined(void) | ^~~~~~~~~~~~~~~~~~~~~ arch/mips/kernel/asm-offsets.c:341:6: warning: no previous prototype for 'output_kvm_defines' [-Wmissing-prototypes] 341 | void output_kvm_defines(void) | ^~~~~~~~~~~~~~~~~~ make[2]: *** [scripts/Makefile.build:114: arch/mips/kernel/asm-offsets.s] Error 1 make[2]: Target 'prepare' not remade because of errors. make[1]: *** [Makefile:1287: prepare0] Error 2 make[1]: Target 'prepare' not remade because of errors. make: *** [Makefile:226: __sub-make] Error 2 make: Target 'prepare' not remade because of errors. vim +1749 include/linux/mmzone.h d41dee369bff3b Andy Whitcroft 2005-06-23 1744 835c134ec4dd75 Mel Gorman 2007-10-16 1745 #define SECTION_BLOCKFLAGS_BITS \ d9c2340052278d Mel Gorman 2007-10-16 1746 ((1UL << (PFN_SECTION_SHIFT - pageblock_order)) * NR_PAGEBLOCK_BITS) 835c134ec4dd75 Mel Gorman 2007-10-16 1747 ccefb5df94c3c6 Kirill A. Shutemov 2023-03-15 1748 #if (MAX_ORDER + PAGE_SHIFT) > SECTION_SIZE_BITS d41dee369bff3b Andy Whitcroft 2005-06-23 @1749 #error Allocator MAX_ORDER exceeds SECTION_SIZE d41dee369bff3b Andy Whitcroft 2005-06-23 1750 #endif d41dee369bff3b Andy Whitcroft 2005-06-23 1751 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests