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 2F5AAC61DA4 for ; Sat, 4 Feb 2023 11:10:51 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id BCD6C6B0072; Sat, 4 Feb 2023 06:10:50 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id B58FC6B0073; Sat, 4 Feb 2023 06:10:50 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 9F75D6B0074; Sat, 4 Feb 2023 06:10:50 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 88ECA6B0072 for ; Sat, 4 Feb 2023 06:10:50 -0500 (EST) Received: from smtpin12.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id 580E7140628 for ; Sat, 4 Feb 2023 11:10:50 +0000 (UTC) X-FDA: 80429341860.12.A15818D Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by imf01.hostedemail.com (Postfix) with ESMTP id 970DF40008 for ; Sat, 4 Feb 2023 11:10:47 +0000 (UTC) Authentication-Results: imf01.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=ngV07ss4; spf=pass (imf01.hostedemail.com: domain of lkp@intel.com designates 134.134.136.65 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=1675509048; 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=L+W8b9q2GLfsST6SHhvl1Hlq/Y7jRtpPx3ZzN9ahN5Q=; b=07JqpGsJAtYC6TF6T1AZM1I/N2wE5CQKw4VMd9DnkIT+gWoL7XPivU5k+Y09os9dwxoL99 PBnwi7p4D57lfx369fZjg31201Zk+rn7MMMFW6NBwEZn6Wh3aGAOyjBU9a3/UAxpISeCq2 yzkCDc4g0UHAME1jQfmhvhIdsuCexD4= ARC-Authentication-Results: i=1; imf01.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=ngV07ss4; spf=pass (imf01.hostedemail.com: domain of lkp@intel.com designates 134.134.136.65 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=1675509048; a=rsa-sha256; cv=none; b=UHbmHVJf6qFD9REIPJV1ABx3w4zyav81P4CmzDfU6t9hBNZ/DP7N/S0o2duO1Mfd9QpfNt r1+zFV2I4Sl/Q+9LpDB1EFwLbq7ALpVoZEHGz+O7aUACufjEnvxqg2urzP3deoMwEbCcdZ Vt21gg7w/lSU4XfBc5FGihO3EDcEp8A= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1675509047; x=1707045047; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=CL0Zmt/Uzkvx5lfLFxnaVwpEjAI9x7OL/4zDDw2GPvU=; b=ngV07ss4aFuDLEaNPYPVm7xeLUsPg+a55iysDRipBCaB+qojX0zzcSdu 6ovF7t/zGmZqo6TLBqpqQGF5WXoWm+1sqvf6WPsF5LCZFivgwuyTeKrxb 8ozWujRpw349Eg0kTziYxLZk5ycYyj9sA5owLFjfDEGBJqYjcVb3G9Mo8 L1as60hmaPp8as/Pv9CXpeVpM6ETQjgce3ZEmkMYK1ajZWRg2RJn2pGpS KGjP/YNrDibI6zO7YVzpQZLW3A+hhOtRLuiFYZOIuU2zSeA2vdV9jcKJ9 LxkmO0e4xaTi2zn1b2QIj0WZnZarkWE4GDXBHX0/pXM6j//EBkP6lwVYH A==; X-IronPort-AV: E=McAfee;i="6500,9779,10610"; a="331065233" X-IronPort-AV: E=Sophos;i="5.97,272,1669104000"; d="scan'208";a="331065233" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Feb 2023 03:10:45 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10610"; a="789964839" X-IronPort-AV: E=Sophos;i="5.97,272,1669104000"; d="scan'208";a="789964839" Received: from lkp-server01.sh.intel.com (HELO 4455601a8d94) ([10.239.97.150]) by orsmga004.jf.intel.com with ESMTP; 04 Feb 2023 03:10:42 -0800 Received: from kbuild by 4455601a8d94 with local (Exim 4.96) (envelope-from ) id 1pOGRN-0001G4-0i; Sat, 04 Feb 2023 11:10:41 +0000 Date: Sat, 4 Feb 2023 19:09:42 +0800 From: kernel test robot To: Frederic Weisbecker , LKML Cc: oe-kbuild-all@lists.linux.dev, Frederic Weisbecker , Roman Gushchin , Michal Hocko , Marcelo Tosatti , Leonardo , Johannes Weiner , Shakeel Butt , Muchun Song , Andrew Morton , Linux Memory Management List , Peter Zijlstra , Thomas Gleixner , cgroups@vger.kernel.org Subject: Re: [PATCH 2/2] sched/isolation: Add cpu_is_isolated() API Message-ID: <202302041801.0Xt5eNbS-lkp@intel.com> References: <20230203232409.163847-3-frederic@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230203232409.163847-3-frederic@kernel.org> X-Stat-Signature: wwupcodwp1bba6yyfhow3fdpswzc5uqk X-Rspam-User: X-Rspamd-Queue-Id: 970DF40008 X-Rspamd-Server: rspam06 X-HE-Tag: 1675509047-440137 X-HE-Meta: U2FsdGVkX1/7OdWrNhNPEmsJ8ok6Q05Ib5wvPL8UOd4F/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7yi1EX4+SYN8qIFpvm/EGWDtj03BtytxuIPnze8HlbBMQ+SPX4o3DqbOgyPZYAmvwq4fm6KTVRYe09TY1Z1aR2OXLdF8draoP27KbCPkFjii/MMUy8siALYGKHvwDLErZQCfiwih5E+Bm3f+Kx/iSrqB3XOyF0atxhmyweKh+PwOqzfKDmR7rzOTFV7Uj97HLtp6ZM+26T/fuQzW/qltpXHdUIpur+GKoeX3lIDWVlsribmWVEcFFKw8d50qelV07dl3qCulnnUU7zdjKt/X/o74r/Ch9baXUMr4Z0IbpJhoZiTBXDZSxJpJgVNchx/vXaYIspqmu05h//YEmg7RKf7B5zg= 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 Frederic, I love your patch! Yet something to improve: [auto build test ERROR on tip/sched/core] [also build test ERROR on horms-ipvs-next/master horms-ipvs/master linus/master v6.2-rc6 next-20230203] [cannot apply to paulmck-rcu/dev] [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/Frederic-Weisbecker/sched-isolation-Merge-individual-nohz_full-features-into-a-common-housekeeping-flag/20230204-072510 patch link: https://lore.kernel.org/r/20230203232409.163847-3-frederic%40kernel.org patch subject: [PATCH 2/2] sched/isolation: Add cpu_is_isolated() API config: alpha-defconfig (https://download.01.org/0day-ci/archive/20230204/202302041801.0Xt5eNbS-lkp@intel.com/config) compiler: alpha-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/89596a035dc10e00cb66d4e75e49d69b75413807 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Frederic-Weisbecker/sched-isolation-Merge-individual-nohz_full-features-into-a-common-housekeeping-flag/20230204-072510 git checkout 89596a035dc10e00cb66d4e75e49d69b75413807 # 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=alpha olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=alpha 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 >>): In file included from drivers/char/random.c:56: include/linux/sched/isolation.h: In function 'cpu_is_isolated': >> include/linux/sched/isolation.h:58:17: error: implicit declaration of function 'housekeeping_test_cpu'; did you mean 'housekeeping_any_cpu'? [-Werror=implicit-function-declaration] 58 | return !housekeeping_test_cpu(cpu, HK_TYPE_DOMAIN) || | ^~~~~~~~~~~~~~~~~~~~~ | housekeeping_any_cpu cc1: some warnings being treated as errors -- In file included from init/main.c:56: include/linux/sched/isolation.h: In function 'cpu_is_isolated': >> include/linux/sched/isolation.h:58:17: error: implicit declaration of function 'housekeeping_test_cpu'; did you mean 'housekeeping_any_cpu'? [-Werror=implicit-function-declaration] 58 | return !housekeeping_test_cpu(cpu, HK_TYPE_DOMAIN) || | ^~~~~~~~~~~~~~~~~~~~~ | housekeeping_any_cpu init/main.c: At top level: init/main.c:775:20: warning: no previous prototype for 'arch_post_acpi_subsys_init' [-Wmissing-prototypes] 775 | void __init __weak arch_post_acpi_subsys_init(void) { } | ^~~~~~~~~~~~~~~~~~~~~~~~~~ init/main.c:787:20: warning: no previous prototype for 'mem_encrypt_init' [-Wmissing-prototypes] 787 | void __init __weak mem_encrypt_init(void) { } | ^~~~~~~~~~~~~~~~ init/main.c:789:20: warning: no previous prototype for 'poking_init' [-Wmissing-prototypes] 789 | void __init __weak poking_init(void) { } | ^~~~~~~~~~~ cc1: some warnings being treated as errors -- In file included from kernel/sched/fair.c:38: include/linux/sched/isolation.h: In function 'cpu_is_isolated': >> include/linux/sched/isolation.h:58:17: error: implicit declaration of function 'housekeeping_test_cpu'; did you mean 'housekeeping_any_cpu'? [-Werror=implicit-function-declaration] 58 | return !housekeeping_test_cpu(cpu, HK_TYPE_DOMAIN) || | ^~~~~~~~~~~~~~~~~~~~~ | housekeeping_any_cpu kernel/sched/fair.c: At top level: kernel/sched/fair.c:688:5: warning: no previous prototype for 'sched_update_scaling' [-Wmissing-prototypes] 688 | int sched_update_scaling(void) | ^~~~~~~~~~~~~~~~~~~~ kernel/sched/fair.c:6067:6: warning: no previous prototype for 'init_cfs_bandwidth' [-Wmissing-prototypes] 6067 | void init_cfs_bandwidth(struct cfs_bandwidth *cfs_b) {} | ^~~~~~~~~~~~~~~~~~ kernel/sched/fair.c:12493:6: warning: no previous prototype for 'free_fair_sched_group' [-Wmissing-prototypes] 12493 | void free_fair_sched_group(struct task_group *tg) { } | ^~~~~~~~~~~~~~~~~~~~~ kernel/sched/fair.c:12495:5: warning: no previous prototype for 'alloc_fair_sched_group' [-Wmissing-prototypes] 12495 | int alloc_fair_sched_group(struct task_group *tg, struct task_group *parent) | ^~~~~~~~~~~~~~~~~~~~~~ kernel/sched/fair.c:12500:6: warning: no previous prototype for 'online_fair_sched_group' [-Wmissing-prototypes] 12500 | void online_fair_sched_group(struct task_group *tg) { } | ^~~~~~~~~~~~~~~~~~~~~~~ kernel/sched/fair.c:12502:6: warning: no previous prototype for 'unregister_fair_sched_group' [-Wmissing-prototypes] 12502 | void unregister_fair_sched_group(struct task_group *tg) { } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors vim +58 include/linux/sched/isolation.h 55 56 static inline bool cpu_is_isolated(int cpu) 57 { > 58 return !housekeeping_test_cpu(cpu, HK_TYPE_DOMAIN) || 59 !housekeeping_test_cpu(cpu, HK_TYPE_KERNEL_NOISE); 60 } 61 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests