Received: by 2002:a05:7412:b101:b0:e2:908c:2ebd with SMTP id az1csp2867317rdb; Wed, 15 Nov 2023 13:00:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IGzGsKvmSwTNW4PoPaFG8Z07IGrWr/01Y7kZNvOSE9A7eOfUwbEAEFdXcwiO273ur1SpWBG X-Received: by 2002:a17:902:7407:b0:1cc:2f05:7edb with SMTP id g7-20020a170902740700b001cc2f057edbmr6950782pll.35.1700082056778; Wed, 15 Nov 2023 13:00:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700082056; cv=none; d=google.com; s=arc-20160816; b=bj+ffKNHiVP7qD8DtzAHIpvVAhyA5luRdqGSm6Us0/23nsOEVAbSPCpbziLbI2L7Dt mA3N2omQC7Ybbd7+tM2/eS++ya0L3H0lKlTT1K2jK7LfruGj8tWNxSycCEjpxH3KB6p+ +ii3xVpj41/BAGdOQet912p1Sa8Kfvg8tsLFoRwdxaLGpH7CvyGpDMnx/imU3+zhJoS8 8eQRalIybp+Irb856PyuKyzeJTq7leMZHPc99PKdjYc4JJrY1H8Ycbe9Il+rxgkDHUC5 FLDUALFIVIV9PCVGSRWIAjuYRoPRvf7y6uKSZYT/j5wH56aak5A2bhfnXmjA1tCNK+5p Dk3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=TDN4WXYSyMgKxtn2e8bbGqkrc9Zjn/PmZpIQmzvRIrM=; fh=XrhEHtMNS3HyVt4BR1QvI8TETI/F130vUsByK2+WIec=; b=h8DbuRhjyDKZoTolowZFF0DFF+ZScSTzBLomIzPA4xl5qSCoqq5Hb0p8EKsM6zxtk8 3blM/1qXFw+U63TCWoSzr4iZuFxfZaa+Hm9CmaN7WXiD+JkSWNlOKRoDN0yPnkI4Nqu5 XHB2LXimmvMNchVMpluvBGExkc7/EazO4EuUmWsrg/1GY5JkgLJ+KPMOPIKmaKdUrPBc SQaI4m1uymmHYCCxO6dz6T85P42CG/PXoZHdYeLOoD5T7t66BAdkvVio2249gunlZGfT Yl2/eFAu8q7QDkDJvWAP4/deNVMmbUqHlcy7yJ7PyyTCwJ5F4q/xV3HQ+xN3TD7BA30d nxAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="bBn/Nv0R"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id a6-20020a170902ecc600b001bf0e15c0a9si11321937plh.269.2023.11.15.13.00.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Nov 2023 13:00:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="bBn/Nv0R"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 073CA805ADE7; Wed, 15 Nov 2023 12:52:01 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233766AbjKOUvy (ORCPT + 99 others); Wed, 15 Nov 2023 15:51:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33338 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233739AbjKOUvx (ORCPT ); Wed, 15 Nov 2023 15:51:53 -0500 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF95C8F for ; Wed, 15 Nov 2023 12:51:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1700081509; x=1731617509; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=gEmSesFKnrmpRA25UkqersrEcx6SvM/BHS3f/SD5mrQ=; b=bBn/Nv0RcDHcbjZZazsI7c0RVmCOun47/pdvHKbXqoWjmxWcyMN6i8Ec 3rsZ1lPUmNKuvt6qNYJu7hwotflM1NV+RtrB9szSBAJ/qDGKWxn42EL7f Bk9hn/6W9rkfUGrDvI+4ZdBIi4gyGjJidx9NnKuGxs9Umqnd6FLh5HhEZ xC0olg2G6RpCireRxMLtJr2c+P0PsxKsLPvLOJuLImfkLgNZNoPxSartC zIQu/MzENurBGYOBebvHncof8xeG4mjQwmnAB/7LKtZq399cLiXP66Tsl zhZnoYVybddjqbgjYLZqqBWCnfs0YrdQQxtcpkD4Vtjfzd9Uev2kiW8dA w==; X-IronPort-AV: E=McAfee;i="6600,9927,10895"; a="389810508" X-IronPort-AV: E=Sophos;i="6.03,306,1694761200"; d="scan'208";a="389810508" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Nov 2023 12:51:49 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10895"; a="882508058" X-IronPort-AV: E=Sophos;i="6.03,306,1694761200"; d="scan'208";a="882508058" Received: from lkp-server02.sh.intel.com (HELO b8de5498638e) ([10.239.97.151]) by fmsmga002.fm.intel.com with ESMTP; 15 Nov 2023 12:51:45 -0800 Received: from kbuild by b8de5498638e with local (Exim 4.96) (envelope-from ) id 1r3MrP-0000oZ-1N; Wed, 15 Nov 2023 20:51:43 +0000 Date: Thu, 16 Nov 2023 04:51:00 +0800 From: kernel test robot To: Cruz Zhao , mingo@redhat.com, peterz@infradead.org, juri.lelli@redhat.com, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, rostedt@goodmis.org, bsegall@google.com, mgorman@suse.de, bristot@redhat.com, vschneid@redhat.com, joel@joelfernandes.org Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/4] sched/fair: introduce core_vruntime and core_min_vruntime Message-ID: <202311160442.IBG98IUu-lkp@intel.com> References: <20231115113341.13261-4-CruzZhao@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231115113341.13261-4-CruzZhao@linux.alibaba.com> X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Wed, 15 Nov 2023 12:52:02 -0800 (PST) Hi Cruz, kernel test robot noticed the following build errors: [auto build test ERROR on linus/master] [also build test ERROR on v6.7-rc1 next-20231115] [cannot apply to tip/sched/core] [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/Cruz-Zhao/sched-core-introduce-core_id-to-struct-rq/20231115-193559 base: linus/master patch link: https://lore.kernel.org/r/20231115113341.13261-4-CruzZhao%40linux.alibaba.com patch subject: [PATCH 3/4] sched/fair: introduce core_vruntime and core_min_vruntime config: i386-buildonly-randconfig-005-20231116 (https://download.01.org/0day-ci/archive/20231116/202311160442.IBG98IUu-lkp@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231116/202311160442.IBG98IUu-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202311160442.IBG98IUu-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from kernel/sched/fair.c:54: kernel/sched/fair.c: In function 'update_min_vruntime': >> kernel/sched/fair.c:802:37: error: 'struct cfs_rq' has no member named 'core_min_vruntime_copy'; did you mean 'core_min_vruntime'? 802 | u64_u32_store(cfs_rq->core->core_min_vruntime, | ^~~~~~~~~~~~~~~~~ kernel/sched/sched.h:528:9: note: in definition of macro 'u64_u32_store_copy' 528 | copy = __val; \ | ^~~~ kernel/sched/fair.c:802:9: note: in expansion of macro 'u64_u32_store' 802 | u64_u32_store(cfs_rq->core->core_min_vruntime, | ^~~~~~~~~~~~~ kernel/sched/fair.c: At top level: kernel/sched/fair.c:12462:6: warning: no previous prototype for 'sched_core_init_cfs_rq' [-Wmissing-prototypes] 12462 | void sched_core_init_cfs_rq(struct task_group *tg, struct cfs_rq *cfs_rq) | ^~~~~~~~~~~~~~~~~~~~~~ kernel/sched/fair.c: In function 'init_cfs_rq': kernel/sched/fair.c:12698:31: error: 'struct cfs_rq' has no member named 'core_min_vruntime_copy'; did you mean 'core_min_vruntime'? 12698 | u64_u32_store(cfs_rq->core_min_vruntime, (u64)(-(1LL << 20))); | ^~~~~~~~~~~~~~~~~ kernel/sched/sched.h:528:9: note: in definition of macro 'u64_u32_store_copy' 528 | copy = __val; \ | ^~~~ kernel/sched/fair.c:12698:9: note: in expansion of macro 'u64_u32_store' 12698 | u64_u32_store(cfs_rq->core_min_vruntime, (u64)(-(1LL << 20))); | ^~~~~~~~~~~~~ kernel/sched/fair.c: At top level: kernel/sched/fair.c:12985:6: warning: no previous prototype for 'free_fair_sched_group' [-Wmissing-prototypes] 12985 | void free_fair_sched_group(struct task_group *tg) { } | ^~~~~~~~~~~~~~~~~~~~~ kernel/sched/fair.c:12987:5: warning: no previous prototype for 'alloc_fair_sched_group' [-Wmissing-prototypes] 12987 | int alloc_fair_sched_group(struct task_group *tg, struct task_group *parent) | ^~~~~~~~~~~~~~~~~~~~~~ kernel/sched/fair.c:12992:6: warning: no previous prototype for 'online_fair_sched_group' [-Wmissing-prototypes] 12992 | void online_fair_sched_group(struct task_group *tg) { } | ^~~~~~~~~~~~~~~~~~~~~~~ kernel/sched/fair.c:12994:6: warning: no previous prototype for 'unregister_fair_sched_group' [-Wmissing-prototypes] 12994 | void unregister_fair_sched_group(struct task_group *tg) { } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ vim +802 kernel/sched/fair.c 772 773 if (curr) { 774 if (curr->on_rq) { 775 vruntime = curr->vruntime; 776 #ifdef CONFIG_SCHED_CORE 777 core_vruntime = curr->core_vruntime; 778 #endif 779 } else { 780 curr = NULL; 781 } 782 } 783 784 if (se) { 785 if (!curr) { 786 vruntime = se->vruntime; 787 #ifdef CONFIG_SCHED_CORE 788 core_vruntime = se->core_vruntime; 789 #endif 790 } else { 791 vruntime = min_vruntime(vruntime, se->vruntime); 792 #ifdef CONFIG_SCHED_CORE 793 core_vruntime = min_vruntime(core_vruntime, se->core_vruntime); 794 #endif 795 } 796 } 797 798 /* ensure we never gain time by being placed backwards. */ 799 u64_u32_store(cfs_rq->min_vruntime, 800 __update_min_vruntime(cfs_rq, vruntime)); 801 #ifdef CONFIG_SCHED_CORE > 802 u64_u32_store(cfs_rq->core->core_min_vruntime, 803 __update_core_min_vruntime(cfs_rq->core, vruntime)); 804 #endif 805 } 806 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki