Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp3573585pxm; Tue, 1 Mar 2022 00:42:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJzKICCwzb4W6Mct+g8dxRz7h1ErRD/qkQ4Go33/CMWUW9lEYdoNYwvu0Lr40NTHROif71E2 X-Received: by 2002:a63:d23:0:b0:364:f37b:947d with SMTP id c35-20020a630d23000000b00364f37b947dmr20890621pgl.263.1646124147984; Tue, 01 Mar 2022 00:42:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646124147; cv=none; d=google.com; s=arc-20160816; b=QtQVdECKTOu7kG58pvHuRSI4vM6VHTJgg08WdwnnbviNCwhmvo9ZpEle9UmZTQ4+e4 uQza/S4frM25ZpLR/VD5tRjLjPPpSEbMGttgsq4Z5KcLajljnedoTrHDKf2I6hcLV0bJ ht5nD3M/3GMM/+Y0r9oSz5QsRwxgOPBtr3rl0u5cIKUI8UJqHhNKlC3WwxdNJ3Bla1Ad 3uZXveqcYWvma+7fCECqOxtaweNKst813023mBMVm5JAvfRNmuigNerbADLWf0Ae3b9U ltCaO2BLMVIupS6eDpFzDl7B+YNcbTXFQzTVKhACL2OedHyz0+pqLENjGYzQTFPJuIak QPzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=9hRRl5GZcVVcYT8U8LpgcsTPzoyFxDmq2fMI1DCV8yc=; b=B4usXHgHZd9FpkMzvDB47PRTCJFQRQarFTIu5qGx+1H/7meTv0z62ktN0p4p2umEhO pLTfNIa2wsYWOUrvwe9pAmSfWY/tJPlLP2FDVii+3HTf+YlUTogw+zAIrXvzXgJ3zp7N sPeGgWdhylFBgfirGl8IAoUX0d9+0PHa90o+mJ0bQC3oyQ0zNTRMbkjCgufPRB5PGwyH GAY1WVwMkbBTKNRpLK9J0mTbwYebmB6gndOr0fRUq+TNGQAhjqdhDnJar+u5m1AFzjeg ikMWHR+YgUf0/Y3c+Hshg8Ij8YGumYxJwevcr7cW68GDDgVZTa9wiP9Xuf0mNIfCtEbj 7lfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=SnKzdPSY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bm16-20020a656e90000000b00378baddc72asi4165813pgb.457.2022.03.01.00.42.12; Tue, 01 Mar 2022 00:42:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=SnKzdPSY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232509AbiCAHCW (ORCPT + 99 others); Tue, 1 Mar 2022 02:02:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47732 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229633AbiCAHCS (ORCPT ); Tue, 1 Mar 2022 02:02:18 -0500 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A5C9654B0 for ; Mon, 28 Feb 2022 23:01:38 -0800 (PST) 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="252805911" X-IronPort-AV: E=Sophos;i="5.90,145,1643702400"; d="scan'208";a="252805911" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga102.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-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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