Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp1869119imw; Tue, 5 Jul 2022 17:26:58 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vQnz5LxmhMjA7lOAm73jfsBZ0DpHIr5EdYTV8GHg2YiLLgcyXvfOP4j9ADiiJvZ2yTgHwA X-Received: by 2002:a17:906:9bc6:b0:72a:edd8:aa9e with SMTP id de6-20020a1709069bc600b0072aedd8aa9emr3903125ejc.158.1657067218330; Tue, 05 Jul 2022 17:26:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1657067218; cv=pass; d=google.com; s=arc-20160816; b=L7Zn4OkYzaNrFYOmYtlh0kYxK0h2iv7GAO8OxKNEHnDsEvnLiLO4+zhBnjHc+dk2jV khrVmRw4Mf5QpSykEY17xh7SCiUDzXz0q3UiAa7YLxHYBAzpkLg5oSDGQGIMr2+umowS kST76+2BX9OyuZk5/8ljEOq8GsPqK8Kd9/s9OAe9Kgp5cLyfI6f1C7i7s3KwE3f8L0Vt aDmltxo+iw8ppuCtYINryu3SN80qc+gplAGTB2yaSwpNoaNkUD31dyQIK/CJuBJ8GrJe 28uWcOV7KEeGBhPA540fCHZkvZe4IRd/kzxvqPL/Bjmo5oLNtXa5G6PV4XAfA9jPX1UZ Tq4g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=4COd9xAzCL1j14LuRuAya5kBcwtBCRGWR2+WGOe94qc=; b=ZrBVthMJf0+K7dbhee0FlF8a7+xvKddRMpDW0EGURCk4I7KIigLZJ23KLCIE8R9vIZ +Ph6IZM7iaJ7R2pHLjH/NMx2UuOWdSgJh06GEMrgrbCHEYNGgRDJ4PmWU2txbb54v+hg 4X+eE9yvHZ8GhbDF1R0alHdoK5N9mTimScJE8mLXABDv0N0ZeDHmq7Cv6EGWJdNAVgyv fsH9tTJN+zz+2Lh7FPS4nQzH4Sqlk6CmGymdeSifewZCAwEiRaHkpPzMZ7noa1nUS/6U mRn37C8hPgNd7h6TKsNaNToEXNKZvxtiBPH1nSCnVyEdJ3gT8IJHZdXuDIAVGjQa2QFK xMNw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nutanix.com header.s=proofpoint20171006 header.b=nHtyV9wC; arc=pass (i=1 spf=pass spfdomain=nutanix.com dkim=pass dkdomain=nutanix.com dmarc=pass fromdomain=nutanix.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=pass (p=NONE sp=NONE dis=NONE) header.from=nutanix.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b20-20020a056402351400b004357068ef59si48233248edd.282.2022.07.05.17.26.33; Tue, 05 Jul 2022 17:26:58 -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; dkim=pass header.i=@nutanix.com header.s=proofpoint20171006 header.b=nHtyV9wC; arc=pass (i=1 spf=pass spfdomain=nutanix.com dkim=pass dkdomain=nutanix.com dmarc=pass fromdomain=nutanix.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=pass (p=NONE sp=NONE dis=NONE) header.from=nutanix.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230341AbiGEXu6 (ORCPT + 99 others); Tue, 5 Jul 2022 19:50:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49888 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230320AbiGEXu5 (ORCPT ); Tue, 5 Jul 2022 19:50:57 -0400 Received: from mx0a-002c1b01.pphosted.com (mx0a-002c1b01.pphosted.com [148.163.151.68]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 03FD9DEFC for ; Tue, 5 Jul 2022 16:50:55 -0700 (PDT) Received: from pps.filterd (m0127837.ppops.net [127.0.0.1]) by mx0a-002c1b01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 265JHdd4015749; Tue, 5 Jul 2022 16:49:55 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nutanix.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=proofpoint20171006; bh=4COd9xAzCL1j14LuRuAya5kBcwtBCRGWR2+WGOe94qc=; b=nHtyV9wCvyCUAhvPgJQlwAEM7SWSpTajbIAf9q50IOAIUicaYQXfP5ijyRjsRpZ5QMx+ 6kxp8rZckP220Aju2YmO0HynN0FFVJyo1LoKxRIwuIKdlpGRc1Jzeqx4gBdYT72mTkx5 uWCLMfh/JZgZGYujJNnJNKZHFAs5WCZKbKnp8qtlmCbgJ8If1BRvfeUSO0LCPJOX+mCm 5vx+kZ/4ArxUd8Jk/7PxX8u2E/sJJUiH1mSEN0GOwyxt/GCCUq2LDEjdwW/C16A3UA2o AWNttwvUTcwKulUSGQcqW8zwoR4O9DAd+zxg3zIXEb/0K14nI/x1zq6f5XDV3oisFQVd zw== Received: from nam04-bn8-obe.outbound.protection.outlook.com (mail-bn8nam04lp2046.outbound.protection.outlook.com [104.47.74.46]) by mx0a-002c1b01.pphosted.com (PPS) with ESMTPS id 3h4ub1rebj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 05 Jul 2022 16:49:53 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dHwAVEukyY7wVeRa2LHbSY/6BiIcg1k51Nf8+NCyYnVCYZQanUcmw3Aq2u4mRw/I/Ffmtya+orqeNhseKDZaynMfvdJ6TqGhKmT1m+qRneq71WjV0zx6BckIrjswb3h1m3Rhpq4eUiuBD8DxNXzcVB5ur03Wt2ypzBsoLF3qLAbNd4t5e6AByvhL/EhE7hZAcj9xqRz6ch99wjKvH+lXBcPe8VK/4UYinPfmHUHjK4pS7Eghw8g/SXrxLEQ/XUTH7lWDdbzEpmF72c58/G7NV3zJlXHQdzDAjk4/1AN6oJq7GwL8xdDzjm6igj/1AENfpBzK7p1sUW5u25f5/2yzYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=4COd9xAzCL1j14LuRuAya5kBcwtBCRGWR2+WGOe94qc=; b=C0d5BT7ogXwpqkBD1SWt0PJOmg+heZn79qqVPMOGn6QBPDrxAHpV33Rx3s8cXSSTkW/im7QdpLxeV5ZAZ+g59+nzL/H4DxO/YqpcRD2VIo0hZ57xRDr5tOQegaCQLWd+nF6MhoBl1Rxx5DmUnCuUmfzUCkIwwVTt8ytw7U9Jq3H5Hrs7zqDYGGeWIjahfbisFpt38jW9F11h68WeO43wthnoqzkgWZPq16F4In8/qHo5HF9PupaAejlXB2f1RgmPOH7QXiVtGmHv9smVdKX9RW03O+8wRvR2UOP82QsfPucUjmHSho7eH5p8aw30eQezDHY8YFw8L2LCYLMGasseRQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nutanix.com; dmarc=pass action=none header.from=nutanix.com; dkim=pass header.d=nutanix.com; arc=none Received: from BYAPR02MB4488.namprd02.prod.outlook.com (2603:10b6:a03:57::28) by DM5PR02MB2316.namprd02.prod.outlook.com (2603:10b6:3:53::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5395.17; Tue, 5 Jul 2022 23:49:50 +0000 Received: from BYAPR02MB4488.namprd02.prod.outlook.com ([fe80::c17a:381f:c32f:5a54]) by BYAPR02MB4488.namprd02.prod.outlook.com ([fe80::c17a:381f:c32f:5a54%4]) with mapi id 15.20.5395.022; Tue, 5 Jul 2022 23:49:50 +0000 From: David Chen To: Zhang Qiao , Vincent Guittot CC: "mingo@redhat.com" , "peterz@infradead.org" , "juri.lelli@redhat.com" , "dietmar.eggemann@arm.com" , "rostedt@goodmis.org" , "bsegall@google.com" , "mgorman@suse.de" , "bristot@redhat.com" , "vschneid@redhat.com" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH] sched/fair: fix case with reduced capacity CPU Thread-Topic: [PATCH] sched/fair: fix case with reduced capacity CPU Thread-Index: AQHYjc+hB9aG+LIT+06t/z3r1vlNSa1vdU6AgAECTiA= Date: Tue, 5 Jul 2022 23:49:50 +0000 Message-ID: References: <20220702045254.22922-1-vincent.guittot@linaro.org> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 28315d13-4be3-479c-217f-08da5ee10cf4 x-ms-traffictypediagnostic: DM5PR02MB2316:EE_ x-proofpoint-crosstenant: true x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Gn7sq7cgPLUik+jF63951B5Z+TMPT49DyKPqY7PDlaLHfyCD9eM8OgwiMxgpOjJo650/2c3d5Y0NLlIRdDUnoejqfQ7p+EVjsQtJdIlPV/TY1uu1SqZcfiwcN3iNqh7b4RHRabCMgZ3SyIhpif/+G6Q3Bum/CBRfmODfcyRJHlirypGgU9I0WXrPHMjpVLDi61XSHsaxsaag2wM71l5yvoUgkdiK2pkZ3jTiQNvnGYHK/ZQvZJ7Pcn6ZA+8Kot1dMl89MQLmR9fZIsEKr9YHyx18208qD+/figKPT3w6Q6g9dq0S26/EbB+deQCguJzPwZsWLiNZgzZmfQVJDtF0NZPvCqYLO+eumEFDQN36WD+R8xk7jJXEi7oCFMFp1T6H93dbPVYanPZRpBD3FntbfPzkPZqhnPg4fwQOePGTRIIqRVsaVHyM7+Yt/9OqRUQi9fF1zsGrglao4aB8hq3R1V1pCKsanKBh5cxR7G2yJI/jsBuFfwkCLi5YyBwXyS21lkzlL9OKSITxUrTcAuuUCGnzeIx/Auj6/evvjWfN4bHF2aCYR3AlqkcgjcDvbI6L961unVCHPATRdkZsSZbuQLSQgjY+wGyY5Zka35Hv88hFD6eRpp5e/+RuWBBnwHlAgGQNJAclKA+mkoH/Bzq292DIJfrbZ09WlpX5TSZu+33Q7brW2iTcfj1266iC4vngBfoNckJJNcO9tiw0cBQH9isFh5EJtx7E5glBxY8g2BO8G0YRWgijiEjwF8iTXywzD3PmgIvKS8lWz23tGJLUl6wnLndCzakSRT5X8uYhv5RCrO+pljU7GT4PPvGadqzs x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BYAPR02MB4488.namprd02.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(376002)(366004)(396003)(136003)(39860400002)(346002)(8936002)(52536014)(38100700002)(86362001)(478600001)(44832011)(33656002)(76116006)(122000001)(66946007)(4326008)(8676002)(9686003)(64756008)(66446008)(66476007)(66556008)(5660300002)(71200400001)(7416002)(26005)(55016003)(186003)(53546011)(316002)(7696005)(54906003)(2906002)(41300700001)(6506007)(83380400001)(38070700005)(110136005);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?dHl1TWlWR2RMTTVtSGpxWDBLTnVnNXUwK1VkaWxOamdYVjlZVTBDMXhjNmt1?= =?utf-8?B?RVVTeGRObi8wa1o4M2wrU2RTVzFTS1FqQ1RXWWIrUkxCTnZWSjRFWEZ4dWg3?= =?utf-8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YdTVpNGFaK21QZS9S?= =?utf-8?B?ODM3cmhIaEpENnFVdEtzRFZZVTNlSjQ1WjNzUTEzU2dEVnJWdzhRcEUydGZV?= =?utf-8?B?OXlnTzl6UzZGaXprWDUxU2Yvdk1GY3BRNWRhWENaQW10SjVINE4zQ1hvVCtG?= =?utf-8?B?dExtR2NVTkJzUFJISUhuU05RUWtNMTNuYXhseldJYk1Eb0h5WDU2LzRCU1Fs?= =?utf-8?Q?7WcBTD1hhN8hcd9cbF42ZXQ37?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nutanix.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR02MB4488.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 28315d13-4be3-479c-217f-08da5ee10cf4 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Jul 2022 23:49:50.3700 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: bb047546-786f-4de1-bd75-24e5b6f79043 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 9IIrXEOMtvR6CiqVd2eAvFJf+REeURUCiFQE79FDbVZm8yQjJNwkLErLcYyqjZkVPyAZIiGp418K4n2LXO6R5A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR02MB2316 X-Proofpoint-ORIG-GUID: 92-cxEE6RigJJYyLxPNuRpQwCuL_nwbh X-Proofpoint-GUID: 92-cxEE6RigJJYyLxPNuRpQwCuL_nwbh X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.883,Hydra:6.0.517,FMLib:17.11.122.1 definitions=2022-07-05_20,2022-06-28_01,2022-06-22_01 X-Proofpoint-Spam-Reason: safe X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_NONE,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 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogWmhhbmcgUWlhbyA8emhh bmdxaWFvMjJAaHVhd2VpLmNvbT4NCj4gU2VudDogVHVlc2RheSwgSnVseSA1LCAyMDIyIDE6MjMg QU0NCj4gVG86IFZpbmNlbnQgR3VpdHRvdCA8dmluY2VudC5ndWl0dG90QGxpbmFyby5vcmc+DQo+ IENjOiBtaW5nb0ByZWRoYXQuY29tOyBwZXRlcnpAaW5mcmFkZWFkLm9yZzsganVyaS5sZWxsaUBy ZWRoYXQuY29tOyBkaWV0bWFyLmVnZ2VtYW5uQGFybS5jb207IHJvc3RlZHRAZ29vZG1pcy5vcmc7 DQo+IGJzZWdhbGxAZ29vZ2xlLmNvbTsgbWdvcm1hbkBzdXNlLmRlOyBicmlzdG90QHJlZGhhdC5j b207IHZzY2huZWlkQHJlZGhhdC5jb207IGxpbnV4LWtlcm5lbEB2Z2VyLmtlcm5lbC5vcmc7IERh dmlkIENoZW4NCj4gPGRhdmlkLmNoZW5AbnV0YW5peC5jb20+DQo+IFN1YmplY3Q6IFJlOiBbUEFU Q0hdIHNjaGVkL2ZhaXI6IGZpeCBjYXNlIHdpdGggcmVkdWNlZCBjYXBhY2l0eSBDUFUNCj4gDQo+ IA0KPiANCj4g5ZyoIDIwMjIvNy8yIDEyOjUyLCBWaW5jZW50IEd1aXR0b3Qg5YaZ6YGTOg0KPiA+ IFRoZSBjYXBhY2l0eSBvZiB0aGUgQ1BVIGF2YWlsYWJsZSBmb3IgQ0ZTIHRhc2tzIGNhbiBiZSBy ZWR1Y2VkIGJlY2F1c2Ugb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