Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp26703pxb; Tue, 12 Apr 2022 15:49:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJykkn2j5EcFkxhO30fvollTJkY6owjCrGnQOu0xPo95oGTMd4XxhLU6oEgVfPFnmmr2aNtV X-Received: by 2002:a17:903:1cc:b0:158:5db4:9073 with SMTP id e12-20020a17090301cc00b001585db49073mr13161449plh.154.1649803785173; Tue, 12 Apr 2022 15:49:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649803785; cv=none; d=google.com; s=arc-20160816; b=j9J/5CBcjuvHAhX2jj14VF2ByMtFZGD/MDjUdn6U+RznrNzgr0/27Gmvozq4Ut5Mw8 OP1dfir8b1x5jPp1bJa1sfE4EwEvnnFbkA+6ywdlQwVwwQ470f6Qjp84gU2hS3Zzq+Zw OJQ49Wg98Dz69zmYIluQv6hk+w4UDqfJV2LH8C1WWbfPn5hTUYs1DPtXzFFOz+pxXF2a xsmxUPHuZrepb6Rda92zA94p5EHUrqFF7LbxQBcJkUL8qNxEZtuiVaQczZ3l2jkOoEAX Vplwl/ALA38YIJlBARxXMqDonWKbGrUX7sHuLUgcPWanfkPN5YSlRt7EJsuMSaA6Btq7 ZdIA== 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=y24OcncXrJYAY9nNh2N5Ppa3KK8+JNES4kxz4NfFVD0=; b=nBhBXI9ks3POWkg0ucZr8ebOA0DLJ1GPeI0b4tkxgxF+wueVDMrhephLWYhyTWQRUQ 3ggKZAMt+BIuH7bGQI3/MDgGpb3+CfonbHiyBHWmJjsrTZD+KTFvqLQJGzHaAvd89IAP F+sKnvVFueixehqz9Pj9ll/JH0vSPKU/wnTDsVmaWvHH/fK2H3qDqDT02omIJ82tPglu mWEoXmHyJo73YhGvAaooPi0N5R5SRR+nFY4P9EtAokErm+26Ch0XQjqpCcNMmEXL2u0P ANa3eEo5jgRucDN0FbOdYwRfglljfwfvwr05nSBqeb+MCy8jDt5VdJNZGdgAqbDMkuwQ Tg6w== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id y7-20020a634b07000000b003842921930bsi3802714pga.808.2022.04.12.15.49.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Apr 2022 15:49:45 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id CF94EE9955; Tue, 12 Apr 2022 14:31:33 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1391730AbiDLJgI (ORCPT + 99 others); Tue, 12 Apr 2022 05:36:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50990 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1389894AbiDLJYS (ORCPT ); Tue, 12 Apr 2022 05:24:18 -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 AB7E022BC4 for ; Tue, 12 Apr 2022 01:39:32 -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-405-oOBMiDLNNWyHBgOE2vxNfQ-1; Tue, 12 Apr 2022 09:39:29 +0100 X-MC-Unique: oOBMiDLNNWyHBgOE2vxNfQ-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; Tue, 12 Apr 2022 09:39:28 +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; Tue, 12 Apr 2022 09:39:28 +0100 From: David Laight To: 'Qais Yousef' CC: Vincent Guittot , 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/HMQAeBEWAABN1gYA= Date: Tue, 12 Apr 2022 08:39:28 +0000 Message-ID: <4ca5cd70904d47bea0df93f7c0979c66@AcuMS.aculab.com> References: <030aacb0c1304e43ab917924dcf4f138@AcuMS.aculab.com> <20220411233447.rcencjivkhyltyxm@airbuntu> In-Reply-To: <20220411233447.rcencjivkhyltyxm@airbuntu> 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=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 RnJvbTogUWFpcyBZb3VzZWYNCj4gU2VudDogMTIgQXByaWwgMjAyMiAwMDozNQ0KPiANCj4gT24g MDQvMTEvMjIgMDg6MjYsIERhdmlkIExhaWdodCB3cm90ZToNCj4gPiBGcm9tOiBRYWlzIFlvdXNl Zg0KPiA+ID4gU2VudDogMDkgQXByaWwgMjAyMiAxODowOQ0KPiA+IC4uLg0KPiA+ID4gUlQgc2No ZWR1bGVyIHdpbGwgcHVzaC9wdWxsIHRhc2tzIHRvIGVuc3VyZSB0aGUgdGFzayB3aWxsIGdldCB0 byBydW4gQVNBUCBpZg0KPiA+ID4gdGhlcmUncyBhbm90aGVyIGNwdSBhdCBsb3dlciBwcmlvcml0 eSBpcyBhdmFpbGFibGUNCj4gPg0KPiA+IERvZXMgdGhhdCBhY3R1YWxseSBoYXBwZW4/DQo+IA0K PiBGb3IgUlQgdGFza3MsIHllcy4gVGhleSBzaG91bGQgZ2V0IGRpc3RyaWJ1dGVkLg0KDQpPaywg dGhhdCBpcyBzb21ldGhpbmcgc2xpZ2h0bHkgZGlmZmVyZW50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