Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp1779965pxb; Thu, 14 Apr 2022 13:59:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxXNx0QwNutQZFJrpg0VC6X47xwUZe0+HSsKcKHJsyKW9ui/hUvW4V0OXNrtddNli1s2f+M X-Received: by 2002:a63:6fc4:0:b0:393:9567:16dc with SMTP id k187-20020a636fc4000000b00393956716dcmr3667569pgc.593.1649969982715; Thu, 14 Apr 2022 13:59:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649969982; cv=none; d=google.com; s=arc-20160816; b=WMnFYukU1GSJV1y7v0CQAHag6U+2erCvH+1Zt4otP7zehxJcPeUp1rHpekIAcpEVkf O1DftsVn8LtrXxAIFeSmd9KdvEnCWBOPzqbYjE2ORMELv5CIh9+QE9et85cmwFG7d8VB ONrtz9KHn413giKCKfQP7SzNtY30Vzp+KAUiBlkma/GwxOMkS49kTS6HWuKTVo6PoE0j ru6SealMatH/CCcacfQnlICmXbHGjZcUV5ctgZqCFKdp/YCzuIrPjF8PeroEnqEGOdiC jPnYOVpa1gUPDQ9W0jp+o7TMJfi2CBekvrB+/L5psvt/1dYGdf5+Uh/9EUX5kpQYIABE vX8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :mime-version:accept-language:in-reply-to:references:message-id:date :thread-index:thread-topic:subject:cc:to:from; bh=QLd0TzAnZJZMSWKinS51ETI80Wi6civURcVAaJ4mN4Y=; b=gDPFOwjEUbwuuQJaE/o/J5f03R81JDOdBPjqHvxI31VC7LjTN+b8mzGqOETPfgOBQE E0Q+iCIBeJ2NGPcbWTLvMB/GHrjImMfzqi0enZyjdLssUR02rc2LVr8f1rJYwzUTJKvx BwhCQT0ZWI3/cOwO9HQ9H//9h77AgjqIAs501munVIHue4CLAOFRrCCDS0dWFp9xduZ8 7MiUt7sqs7oZdQiS9UEdnJ6BHrLfeMJBtGkrVmlYjQcZV5v2IrHxPUou+AxIC3Bf+2xl uVP1egP+aPJKqk7pZbhfyCZ3a4CPrlrNmCAso1N24YY7+GdpLskeSQcbuZ668jwdt7uR njKg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b15-20020a170902d50f00b00158618de96fsi13735295plg.115.2022.04.14.13.59.22; Thu, 14 Apr 2022 13:59:42 -0700 (PDT) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240980AbiDNIiH (ORCPT + 99 others); Thu, 14 Apr 2022 04:38:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241015AbiDNIhi (ORCPT ); Thu, 14 Apr 2022 04:37:38 -0400 Received: from eu-smtp-delivery-151.mimecast.com (eu-smtp-delivery-151.mimecast.com [185.58.86.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C8B7562A1F for ; Thu, 14 Apr 2022 01:35:11 -0700 (PDT) Received: from AcuMS.aculab.com (156.67.243.121 [156.67.243.121]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id uk-mta-319-DUXdtwJLPIq4rCnsMoqOfQ-1; Thu, 14 Apr 2022 09:35:08 +0100 X-MC-Unique: DUXdtwJLPIq4rCnsMoqOfQ-1 Received: from AcuMS.Aculab.com (fd9f:af1c:a25b:0:994c:f5c2:35d6:9b65) by AcuMS.aculab.com (fd9f:af1c:a25b:0:994c:f5c2:35d6:9b65) with Microsoft SMTP Server (TLS) id 15.0.1497.32; Thu, 14 Apr 2022 09:35:07 +0100 Received: from AcuMS.Aculab.com ([fe80::994c:f5c2:35d6:9b65]) by AcuMS.aculab.com ([fe80::994c:f5c2:35d6:9b65%12]) with mapi id 15.00.1497.033; Thu, 14 Apr 2022 09:35:07 +0100 From: David Laight To: 'Vincent Guittot' , Qais Yousef CC: Dietmar Eggemann , "mingo@redhat.com" , "peterz@infradead.org" , "juri.lelli@redhat.com" , "rostedt@goodmis.org" , "bsegall@google.com" , "mgorman@suse.de" , "linux-kernel@vger.kernel.org" , "parth@linux.ibm.com" , "chris.hyser@oracle.com" , "pkondeti@codeaurora.org" , "Valentin.Schneider@arm.com" , "patrick.bellasi@matbug.net" , "pjt@google.com" , "pavel@ucw.cz" , "tj@kernel.org" , "qperret@google.com" , "tim.c.chen@linux.intel.com" , Wei Wang Subject: RE: Scheduling tasks on idle cpu Thread-Topic: Scheduling tasks on idle cpu Thread-Index: AdhNfEgLjonPVH3ESQeb3O9OCn/HMQAeBEWAABN1gYAAZKysEwAAL2fQ Date: Thu, 14 Apr 2022 08:35:07 +0000 Message-ID: <2956e0e1bbfe4309a749ebb3c8736799@AcuMS.aculab.com> References: <030aacb0c1304e43ab917924dcf4f138@AcuMS.aculab.com> <20220411233447.rcencjivkhyltyxm@airbuntu> <4ca5cd70904d47bea0df93f7c0979c66@AcuMS.aculab.com> <20220413235719.xs72pm2kgihia46g@airbuntu> In-Reply-To: Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.202.205.107] MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=C51A453 smtp.mailfrom=david.laight@aculab.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: aculab.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, 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 RnJvbTogVmluY2VudCBHdWl0dG90DQo+IFNlbnQ6IDE0IEFwcmlsIDIwMjIgMDg6NTQNCj4gDQo+ IE9uIFRodSwgMTQgQXByIDIwMjIgYXQgMDE6NTcsIFFhaXMgWW91c2VmIDxxYWlzLnlvdXNlZkBh cm0uY29tPiB3cm90ZToNCj4gPg0KPiA+IE9uIDA0LzEyLzIyIDExOjA3LCBWaW5jZW50IEd1aXR0 b3Qgd3JvdGU6DQo+ID4gPiBPbiBUdWUsIDEyIEFwciAyMDIyIGF0IDEwOjM5LCBEYXZpZCBMYWln aHQgPERhdmlkLkxhaWdodEBhY3VsYWIuY29tPiB3cm90ZToNCj4gPiA+ID4gWWVzIEkgd2FudCB0 aGUgQ0ZTIHNjaGVkdWxlciB0byBwaWNrIGFuIGlkbGUgY3B1IGluIHByZWZlcmVuY2UNCj4gPiA+ ID4gdG8gYW4gYWN0aXZlIFJUIG9uZS4NCj4gPiA+DQo+ID4gPiBXaGVuIHRhc2sgMzQ1MTIgd2Fr ZXMgdXAsIHNjaGVkdWxlciBjaGVja3MgaWYgcHJldiBvciB0aGlzIGNwdSBhcmUNCj4gPiA+IGlk bGUgd2hpY2ggaXMgbm90IHRoZSBjYXNlIGZvciB5b3UuIFRoZW4sIGl0IGNvb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