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 6E681C433F5 for ; Tue, 1 Mar 2022 07:01:40 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id A4B238D0002; Tue, 1 Mar 2022 02:01:39 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 9FAA88D0001; Tue, 1 Mar 2022 02:01:39 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 8E9A58D0002; Tue, 1 Mar 2022 02:01:39 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0079.hostedemail.com [216.40.44.79]) by kanga.kvack.org (Postfix) with ESMTP id 7FC208D0001 for ; Tue, 1 Mar 2022 02:01:39 -0500 (EST) Received: from smtpin17.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id 2387D8249980 for ; Tue, 1 Mar 2022 07:01:39 +0000 (UTC) X-FDA: 79194921918.17.D154852 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by imf14.hostedemail.com (Postfix) with ESMTP id 4534410000B for ; Tue, 1 Mar 2022 07:01:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1646118098; x=1677654098; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=35HJmXKfxBi/prrSB2I1QkaptGFdsXRKRkwKG2qraxI=; b=SnKzdPSY4o1EODWUrnhdltreRFep9lhD1y+P//qy0IZsjtozmpM6WJBQ cKlWO/DSmFYgJrLWujLJHeDvwm6xtzL7ze1H4jWEsC3jdIctFOJS5NAHN pfrPqDWXPL7kZn5bOFad89qJt91JX3UJxy2iteD2xI1lOftCRpvsWqaUu cpEi6AsMlpcch1UZn/pBvGTWFbw90kcUongpgVtIyjbx8MfRedJ+1fvC9 qJYU7ARY3QBSVPSSJL8Tf0IO+MUrl/OgLueytj0UxCDSZyNN/iUpP5X9E yuwph8jDOJwuPZWZarcrJLUTvlG4o1sGbRFPxvWGafyFoYq83BNhrAhX5 g==; X-IronPort-AV: E=McAfee;i="6200,9189,10272"; a="316287349" X-IronPort-AV: E=Sophos;i="5.90,145,1643702400"; d="scan'208";a="316287349" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Feb 2022 23:01:37 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,145,1643702400"; d="scan'208";a="708950428" Received: from lkp-server01.sh.intel.com (HELO 2146afe809fb) ([10.239.97.150]) by orsmga005.jf.intel.com with ESMTP; 28 Feb 2022 23:01:30 -0800 Received: from kbuild by 2146afe809fb with local (Exim 4.92) (envelope-from ) id 1nOwVm-00005R-0Y; Tue, 01 Mar 2022 07:01:30 +0000 Date: Tue, 1 Mar 2022 15:00:55 +0800 From: kernel test robot To: Hyeonggon Yoo <42.hyeyoo@gmail.com>, Vlastimil Babka Cc: kbuild-all@lists.01.org, David Rientjes , Christoph Lameter , Joonsoo Kim , Pekka Enberg , Roman Gushchin , Andrew Morton , Linux Memory Management List , patches@lists.linux.dev, linux-kernel@vger.kernel.org, Oliver Glitta , Faiyaz Mohammed , Dmitry Vyukov , Eric Dumazet , Jarkko Sakkinen , Johannes Berg , Yury Norov , Arnd Bergmann , James Bottomley , Matteo Croce , Marco Elver , Andrey Konovalov , Imran Khan , Zqiang Subject: Re: [PATCH v2] mm/slub: initialize stack depot in boot process Message-ID: <202203011429.a87fKdU7-lkp@intel.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Rspamd-Server: rspam11 X-Rspamd-Queue-Id: 4534410000B X-Rspam-User: Authentication-Results: imf14.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=SnKzdPSY; dmarc=pass (policy=none) header.from=intel.com; spf=none (imf14.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 134.134.136.100) smtp.mailfrom=lkp@intel.com X-Stat-Signature: khrii55ua7wahac55koj6d3kn6o8pcye X-HE-Tag: 1646118098-681421 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 Hyeonggon, Thank you for the patch! Yet something to improve: [auto build test ERROR on vbabka/slub-stackdepot-v1] [also build test ERROR on linus/master v5.17-rc6 next-20220228] [cannot apply to hnaz-mm/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] url: https://github.com/0day-ci/linux/commits/Hyeonggon-Yoo/mm-slub-initialize-stack-depot-in-boot-process/20220301-113825 base: https://git.kernel.org/pub/scm/linux/kernel/git/vbabka/linux.git slub-stackdepot-v1 config: m68k-randconfig-r014-20220301 (https://download.01.org/0day-ci/archive/20220301/202203011429.a87fKdU7-lkp@intel.com/config) compiler: m68k-linux-gcc (GCC) 11.2.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/0day-ci/linux/commit/dd9dbeec7444b13b510dc4a863e9593d1799f965 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Hyeonggon-Yoo/mm-slub-initialize-stack-depot-in-boot-process/20220301-113825 git checkout dd9dbeec7444b13b510dc4a863e9593d1799f965 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=m68k SHELL=/bin/bash arch/m68k/coldfire/ mm/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All error/warnings (new ones prefixed by >>): In file included from include/linux/irq.h:21, from include/asm-generic/hardirq.h:17, from ./arch/m68k/include/generated/asm/hardirq.h:1, from include/linux/hardirq.h:11, from include/linux/interrupt.h:11, from include/linux/kernel_stat.h:9, from arch/m68k/kernel/asm-offsets.c:16: >> include/linux/slab.h:769:5: warning: no previous prototype for 'slab_stack_depot_init' [-Wmissing-prototypes] 769 | int slab_stack_depot_init(void) { return 0; } | ^~~~~~~~~~~~~~~~~~~~~ -- In file included from include/linux/irq.h:21, from arch/m68k/coldfire/vectors.c:14: >> include/linux/slab.h:769:5: warning: no previous prototype for 'slab_stack_depot_init' [-Wmissing-prototypes] 769 | int slab_stack_depot_init(void) { return 0; } | ^~~~~~~~~~~~~~~~~~~~~ arch/m68k/coldfire/vectors.c:43:13: warning: no previous prototype for 'trap_init' [-Wmissing-prototypes] 43 | void __init trap_init(void) | ^~~~~~~~~ -- In file included from include/linux/irq.h:21, from include/asm-generic/hardirq.h:17, from ./arch/m68k/include/generated/asm/hardirq.h:1, from include/linux/hardirq.h:11, from include/linux/interrupt.h:11, from arch/m68k/coldfire/intc-simr.c:16: >> include/linux/slab.h:769:5: warning: no previous prototype for 'slab_stack_depot_init' [-Wmissing-prototypes] 769 | int slab_stack_depot_init(void) { return 0; } | ^~~~~~~~~~~~~~~~~~~~~ arch/m68k/coldfire/intc-simr.c:177:13: warning: no previous prototype for 'init_IRQ' [-Wmissing-prototypes] 177 | void __init init_IRQ(void) | ^~~~~~~~ -- In file included from include/linux/irq.h:21, from include/linux/gpio/driver.h:7, from arch/m68k/coldfire/gpio.c:12: >> include/linux/slab.h:769:5: warning: no previous prototype for 'slab_stack_depot_init' [-Wmissing-prototypes] 769 | int slab_stack_depot_init(void) { return 0; } | ^~~~~~~~~~~~~~~~~~~~~ arch/m68k/coldfire/gpio.c:19:5: warning: no previous prototype for '__mcfgpio_get_value' [-Wmissing-prototypes] 19 | int __mcfgpio_get_value(unsigned gpio) | ^~~~~~~~~~~~~~~~~~~ arch/m68k/coldfire/gpio.c:25:6: warning: no previous prototype for '__mcfgpio_set_value' [-Wmissing-prototypes] 25 | void __mcfgpio_set_value(unsigned gpio, int value) | ^~~~~~~~~~~~~~~~~~~ arch/m68k/coldfire/gpio.c:50:5: warning: no previous prototype for '__mcfgpio_direction_input' [-Wmissing-prototypes] 50 | int __mcfgpio_direction_input(unsigned gpio) | ^~~~~~~~~~~~~~~~~~~~~~~~~ arch/m68k/coldfire/gpio.c:65:5: warning: no previous prototype for '__mcfgpio_direction_output' [-Wmissing-prototypes] 65 | int __mcfgpio_direction_output(unsigned gpio, int value) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ arch/m68k/coldfire/gpio.c:96:5: warning: no previous prototype for '__mcfgpio_request' [-Wmissing-prototypes] 96 | int __mcfgpio_request(unsigned gpio) | ^~~~~~~~~~~~~~~~~ arch/m68k/coldfire/gpio.c:102:6: warning: no previous prototype for '__mcfgpio_free' [-Wmissing-prototypes] 102 | void __mcfgpio_free(unsigned gpio) | ^~~~~~~~~~~~~~ -- In file included from include/linux/stackdepot.h:15, from include/linux/page_ext.h:7, from include/linux/mm.h:25, from mm/page_alloc.c:19: >> include/linux/slab.h:769:5: warning: no previous prototype for 'slab_stack_depot_init' [-Wmissing-prototypes] 769 | int slab_stack_depot_init(void) { return 0; } | ^~~~~~~~~~~~~~~~~~~~~ mm/page_alloc.c:3820:15: warning: no previous prototype for 'should_fail_alloc_page' [-Wmissing-prototypes] 3820 | noinline bool should_fail_alloc_page(gfp_t gfp_mask, unsigned int order) | ^~~~~~~~~~~~~~~~~~~~~~ -- In file included from include/linux/stackdepot.h:15, from include/linux/page_ext.h:7, from include/linux/mm.h:25, from mm/page_poison.c:4: >> include/linux/slab.h:769:5: warning: no previous prototype for 'slab_stack_depot_init' [-Wmissing-prototypes] 769 | int slab_stack_depot_init(void) { return 0; } | ^~~~~~~~~~~~~~~~~~~~~ mm/page_poison.c:102:6: warning: no previous prototype for '__kernel_map_pages' [-Wmissing-prototypes] 102 | void __kernel_map_pages(struct page *page, int numpages, int enable) | ^~~~~~~~~~~~~~~~~~ -- In file included from include/linux/stackdepot.h:15, from include/linux/page_ext.h:7, from include/linux/mm.h:25, from mm/slub.c:13: >> include/linux/slab.h:769:5: warning: no previous prototype for 'slab_stack_depot_init' [-Wmissing-prototypes] 769 | int slab_stack_depot_init(void) { return 0; } | ^~~~~~~~~~~~~~~~~~~~~ >> mm/slub.c:651:5: error: redefinition of 'slab_stack_depot_init' 651 | int slab_stack_depot_init(void) | ^~~~~~~~~~~~~~~~~~~~~ In file included from include/linux/stackdepot.h:15, from include/linux/page_ext.h:7, from include/linux/mm.h:25, from mm/slub.c:13: include/linux/slab.h:769:5: note: previous definition of 'slab_stack_depot_init' with type 'int(void)' 769 | int slab_stack_depot_init(void) { return 0; } | ^~~~~~~~~~~~~~~~~~~~~ -- In file included from include/linux/irq.h:21, from include/asm-generic/hardirq.h:17, from ./arch/m68k/include/generated/asm/hardirq.h:1, from include/linux/hardirq.h:11, from include/linux/interrupt.h:11, from include/linux/kernel_stat.h:9, from arch/m68k/kernel/asm-offsets.c:16: >> include/linux/slab.h:769:5: warning: no previous prototype for 'slab_stack_depot_init' [-Wmissing-prototypes] 769 | int slab_stack_depot_init(void) { return 0; } | ^~~~~~~~~~~~~~~~~~~~~ vim +/slab_stack_depot_init +651 mm/slub.c 650 > 651 int slab_stack_depot_init(void) 652 { 653 if (init_stack_depot) 654 stack_depot_init(); 655 return 0; 656 } 657 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org