Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp5799952ybf; Thu, 5 Mar 2020 07:15:30 -0800 (PST) X-Google-Smtp-Source: ADFU+vtGti3sZv56rqYakfdy+/aVP4j9SGgH37GizQq7ibqOAPafh29230wlkd29Z6ptPYjFQ1u0 X-Received: by 2002:aca:44f:: with SMTP id 76mr6094371oie.23.1583421330629; Thu, 05 Mar 2020 07:15:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583421330; cv=none; d=google.com; s=arc-20160816; b=W7VLG15V0x3mYUly+XabQIjATBCQrZAPO/IMvJEVUy6AYWU6myWeVS8e6NHLzg1fO3 rI4oNV5aKNYorSSAos7mjqTIyBZYsxpynkqVXMAPyrbatIKPf+DQ+e5f/OwnNbLMdH6+ 5Le4PFb5AT9/X68Y8bTxxxAEjDNHQZmH5NVPE+Vx3SFMJZrTfEAnTqaMSwSRbyVv+zMz E/+3Ub/Ein1BQuivfIEW31u2vqoMlXTS6QKULzElPMES3xGiWMyw064MLOvUIY1bWY3c QcPZL2rnkh21sDjs2HBogs/LC3f3BXaNkxyiC9RdDCx2ayHznZXBg6lEMOtX4e7rQ4DJ qV0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :dlp-reaction:dlp-version:dlp-product:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from; bh=c7xPJneRYSA4vN/n2+a92V+UTJY/3ok6JyWKap/YPdI=; b=r7JyCgDtBb66eNkyy8osta4d7CSOCDx/91P4mWJEsMjsM+Cul2TG2ZKs2zbHICbGYf 3c7mu/NEQLmvHu+RTSjznrdNbueVYbHJJwd5JpBbvsgvaQPEOrTgBb16AulOrPb6F08u 7pTdjnAff9TNb4Wco52oZOeq8pHqbu2d4JQiWofzdH4Sa8c5QndXdpmflt0M0cmGncKD VMB2AFLdzdUeSDNUznULenT7kAnByWWeC51GQggs3m+YL7ulV6r1chvNKIwQKYfB+hHK nsUJlun4vDLUmTZ+yO0F+rUD2k1HTB4Jyk3x7ZVFxIDG5omysk9NkmdyseDl/Voe7Xmo +pWw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l11si3808387oth.235.2020.03.05.07.15.06; Thu, 05 Mar 2020 07:15:30 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726436AbgCEPOe convert rfc822-to-8bit (ORCPT + 99 others); Thu, 5 Mar 2020 10:14:34 -0500 Received: from mga04.intel.com ([192.55.52.120]:37454 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725990AbgCEPOe (ORCPT ); Thu, 5 Mar 2020 10:14:34 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Mar 2020 07:14:33 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,518,1574150400"; d="scan'208";a="234479827" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga008.fm.intel.com with ESMTP; 05 Mar 2020 07:14:33 -0800 Received: from shsmsx106.ccr.corp.intel.com (10.239.4.159) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 5 Mar 2020 07:14:32 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.50]) by SHSMSX106.ccr.corp.intel.com ([169.254.10.86]) with mapi id 14.03.0439.000; Thu, 5 Mar 2020 23:14:30 +0800 From: "Li, Philip" To: lkp , "cl@rock-chips.com" CC: "kbuild-all@lists.01.org" , "heiko@sntech.de" , "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" , "akpm@linux-foundation.org" , "tglx@linutronix.de" , "mpe@ellerman.id.au" , "surenb@google.com" , "ben.dooks@codethink.co.uk" , "anshuman.khandual@arm.com" , "catalin.marinas@arm.com" , "will@kernel.org" , "keescook@chromium.org" , "luto@amacapital.net" , "wad@chromium.org" , "mark.rutland@arm.com" , "geert+renesas@glider.be" , "george_davis@mentor.com" , "sudeep.holla@arm.com" , "linux@armlinux.org.uk" , "gregkh@linuxfoundation.org" , "info@metux.net" , "kstewart@linuxfoundation.org" , "allison@lohutok.net" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "huangtao@rock-chips.com" , Liang Chen Subject: RE: [kbuild-all] Re: [PATCH v1 1/1] sched/fair: do not preempt current task if it is going to call schedule() Thread-Topic: [kbuild-all] Re: [PATCH v1 1/1] sched/fair: do not preempt current task if it is going to call schedule() Thread-Index: AQHV8vwSaUDvAnC/i0OErjRILa0VAag6GycQ Date: Thu, 5 Mar 2020 15:14:29 +0000 Message-ID: <831EE4E5E37DCC428EB295A351E66249524206DF@shsmsx102.ccr.corp.intel.com> References: <20200305081611.29323-2-cl@rock-chips.com> <202003052243.P59yLrjh%lkp@intel.com> In-Reply-To: <202003052243.P59yLrjh%lkp@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Subject: [kbuild-all] Re: [PATCH v1 1/1] sched/fair: do not preempt current task if > it is going to call schedule() > > Hi, > > Thank you for the patch! Yet something to improve: Sorry, there're a few duplicated reports around this patch, kindly ignore similar reports, we will look for the possible issue. Thanks > > [auto build test ERROR on tip/sched/core] > [also build test ERROR on arm64/for-next/core tip/auto-latest linus/master v5.6- > rc4 next-20200305] > [if your patch is applied to the wrong git tree, please drop us a note to help > improve the system. BTW, we also suggest to use '--base' option to specify the > base tree in git format-patch, please see https://stackoverflow.com/a/37406982] > > url: https://github.com/0day-ci/linux/commits/cl-rock-chips- > com/wait_task_inactive-spend-too-much-time-on-system-startup/20200305- > 201639 > base: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > a0f03b617c3b2644d3d47bf7d9e60aed01bd5b10 > config: s390-zfcpdump_defconfig (attached as .config) > compiler: s390-linux-gcc (GCC) 7.5.0 > reproduce: > wget https://raw.githubusercontent.com/intel/lkp- > tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # save the attached .config to linux build tree > GCC_VERSION=7.5.0 make.cross ARCH=s390 > > If you fix the issue, kindly add following tag > Reported-by: kbuild test robot > > All errors (new ones prefixed by >>): > > In file included from include/linux/kvm_host.h:12:0, > from arch/s390/kernel/asm-offsets.c:11: > include/linux/sched.h: In function 'set_tsk_going_to_sched': > >> include/linux/sched.h:1776:27: error: 'TIF_GOING_TO_SCHED' undeclared > (first use in this function); did you mean 'TIF_SINGLE_STEP'? > set_tsk_thread_flag(tsk, TIF_GOING_TO_SCHED); > ^~~~~~~~~~~~~~~~~~ > TIF_SINGLE_STEP > include/linux/sched.h:1776:27: note: each undeclared identifier is reported only > once for each function it appears in > include/linux/sched.h: In function 'clear_tsk_going_to_sched': > include/linux/sched.h:1781:29: error: 'TIF_GOING_TO_SCHED' undeclared (first > use in this function); did you mean 'TIF_SINGLE_STEP'? > clear_tsk_thread_flag(tsk, TIF_GOING_TO_SCHED); > ^~~~~~~~~~~~~~~~~~ > TIF_SINGLE_STEP > In file included from include/linux/kernel.h:11:0, > from include/linux/list.h:9, > from include/linux/preempt.h:11, > from include/linux/hardirq.h:5, > from include/linux/kvm_host.h:7, > from arch/s390/kernel/asm-offsets.c:11: > include/linux/sched.h: In function 'test_tsk_going_to_sched': > include/linux/sched.h:1786:44: error: 'TIF_GOING_TO_SCHED' undeclared (first > use in this function); did you mean 'TIF_SINGLE_STEP'? > return unlikely(test_tsk_thread_flag(tsk, TIF_GOING_TO_SCHED)); > ^ > include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' > # define unlikely(x) __builtin_expect(!!(x), 0) > ^ > make[2]: *** [scripts/Makefile.build:101: arch/s390/kernel/asm-offsets.s] Error 1 > make[2]: Target '__build' not remade because of errors. > make[1]: *** [Makefile:1112: prepare0] Error 2 > make[1]: Target 'prepare' not remade because of errors. > make: *** [Makefile:179: sub-make] Error 2 > 142 real 47 user 83 sys 92.07% cpu make prepare > > vim +1776 include/linux/sched.h > > 1773 > 1774 static inline void set_tsk_going_to_sched(struct task_struct *tsk) > 1775 { > > 1776 set_tsk_thread_flag(tsk, TIF_GOING_TO_SCHED); > 1777 } > 1778 > > --- > 0-DAY CI Kernel Test Service, Intel Corporation > https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org