Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp978280pxb; Fri, 15 Apr 2022 17:13:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxPRdkpfaPPLFRHZ5ve/fyJ0cb3FHwy9k88IZYoQn/1A3oBkUAbjsb0RkH7mW/UNaiqc576 X-Received: by 2002:a17:90a:4fa6:b0:1cb:1b77:c931 with SMTP id q35-20020a17090a4fa600b001cb1b77c931mr1408446pjh.63.1650068029266; Fri, 15 Apr 2022 17:13:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650068029; cv=none; d=google.com; s=arc-20160816; b=jg5aNMjcFDkuioCD7Ea2Cxmmci9vw/7dCURVDQs+1VCS2mRFQA/q/Ak8uJxAaH09vK EJDF4HfonyZl6UYY1/HfKZlKNMjekZbg+zB9bx5imTM0Tx7qYoq84I3Okp1WcIIiVt+X 4q8hC5WzIuoIs9QN9ydVSQZ0gfe01vG6uXSuXEWF8PdtDW/16wJhu143FWMs2jUMQuLG 2YQMGFzGMEd42Mqrn8Btvqi5Ikc2S2vCEWpQajGYetQ3zSqUNeJQaf2Ecn9s5wI1kbM3 HbZVPhDXmiXTnxGPtH65LBptwqZ29qwNBRD5sBqgFByHh0VI8WuGG137tmeA5BcNXijE yTMQ== 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=Zsd6il4wgdsEKhF86THutZD3zE1vqzd3cppSg6yuEyE=; b=IK1vIntR0clh99UWE0IjCK5HQ2a87Ul8MmCprQjOBH4iTJVBhnn0zbSM6d2uiQbVVf Vp/gKpxyLwMiRexzcAFehiYI04/ORIpJg2S14Eyx3EVGn3Dp64cSt6y9Kru3xa5pTXb9 /pf5DI5xYB7keR3sUgOpC21kINqS0321boksMKiJHKyjx92HkSnZprLYzMRvficvQQqZ /ulYkvSWb1haj52aD5Vjnx7IvbMiloF7oPXjWqPrOn/2bjD1kjdQfFgWx3Z3+pUfuEpX RZ9V4IRdI0qLPKp4rQIlsG7dMvF51pBZiRvTOhoePxk9w4YTKS8z9v0j7n8MHsV+EzMb yAWw== 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 t70-20020a638149000000b003816043ee1asi2851756pgd.15.2022.04.15.17.13.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Apr 2022 17:13:49 -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 9D63C60CC1; Fri, 15 Apr 2022 17:13:39 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243315AbiDNPiU (ORCPT + 99 others); Thu, 14 Apr 2022 11:38:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34868 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350508AbiDNOWZ (ORCPT ); Thu, 14 Apr 2022 10:22:25 -0400 Received: from eu-smtp-delivery-151.mimecast.com (eu-smtp-delivery-151.mimecast.com [185.58.85.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8B2551C122 for ; Thu, 14 Apr 2022 07:14:27 -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-48-avZjpdW1Ouads2I4a0YvDg-1; Thu, 14 Apr 2022 15:14:24 +0100 X-MC-Unique: avZjpdW1Ouads2I4a0YvDg-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 15:14:22 +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 15:14:22 +0100 From: David Laight To: 'Vincent Guittot' CC: Qais Yousef , 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/HMQAeBEWAABN1gYAAZKysEwAAL2fQAAKuEIAAB3al0A== Date: Thu, 14 Apr 2022 14:14:22 +0000 Message-ID: <5fc162f60ba84ab3a61992084d76c726@AcuMS.aculab.com> References: <030aacb0c1304e43ab917924dcf4f138@AcuMS.aculab.com> <20220411233447.rcencjivkhyltyxm@airbuntu> <4ca5cd70904d47bea0df93f7c0979c66@AcuMS.aculab.com> <20220413235719.xs72pm2kgihia46g@airbuntu> <2956e0e1bbfe4309a749ebb3c8736799@AcuMS.aculab.com> 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=-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 RnJvbTogVmluY2VudCBHdWl0dG90DQo+IFNlbnQ6IDE0IEFwcmlsIDIwMjIgMTE6MTcNCi4uLg0K PiA+ID4gRGF2aWQgY2FuIHJlcnVuIGlzIHVzZSBjYXNlIGFmdGVyIGRpc2FibGluZyBzY2hlZF9m ZWF0KFNJU19QUk9QKQ0KPiA+DQo+ID4gSG93IHdvdWxkIEkgZG8gdGhhdD8NCj4gDQo+IGVjaG8g Tk9fU0lTX1BST1AgPiAvc3lzL2tlcm5lbC9kZWJ1Zy9zY2hlZC9mZWF0dXJlcw0KDQpUaGF0IG1h eSBub3QgYmUgaW4gdGhlIGtlcm5lbCBJJ20gdXNpbmcuDQoNCiMgY2F0IC9zeXMva2VybmVsL2Rl YnVnL3NjaGVkX2ZlYXR1cmVzDQpHRU5UTEVfRkFJUl9TTEVFUEVSUyBTVEFSVF9ERUJJVCBOT19O RVh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