Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp869667pxb; Mon, 16 Aug 2021 20:56:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyG4i4Po1TfDGU1X0mmXRLDIC9AVc+6+v3IklSo2K2y4DkiEq6sUa/KgrIH7gyLyyEZpmHp X-Received: by 2002:a02:9484:: with SMTP id x4mr1140888jah.68.1629172573449; Mon, 16 Aug 2021 20:56:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629172573; cv=none; d=google.com; s=arc-20160816; b=mgqW9BSy0HmknABHoiZcrIpMF7X3uBpFsZ7vqe50XWbxOuKo2ngF3nrwhNXyoH5keH u269TXgipovzMSyCsa/n0pin6/MhRjkTCF9O+qzDIAESS6TNX80vtHfNlVdZd/2obRka IAOnVYsQbwa9m9UnUP5oUAzK5KzZa6OustAta2g2qsgacYOJAhYxnGoL/JXvpIShX8OY XV++efIAaaVSRkl9LIOqqFgOnDj/+22WYe2BAmVe73+KsbORbz+nEzCQqoaWJFTVuAQo 0Ern+Fb4xh+QvT8Q+L2RKfFHl/podT/2o9hZIeAkkv6bE2YTeWt9NcOlTAHsJuFNhgV7 a1TQ== ARC-Message-Signature: i=1; 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; bh=15YYDjDacfKjgH4H0F8uurc/U4t3lXPXUsLZm01jKo8=; b=qAPbhikzWXmxKUnanb3vXwdvyNIlOL9ty2zKqj4N9MEm6VbKT+kMELekBsd+Phr0j7 vtm4jQm5r1OnIeY9bLd/qPvABBSCFpVlZZgEI5hHfzzAY4zRXqncZkIKYT5BybzvEhZB BZfni06GhDXkhh/S2TfMFT1iDGpeHpMtad5ILQKPryQaydFouRbAnLJCQopLqn1KCUle 8lVC9OsqeLFIXYBjF1VH9N6zgQTFm343BnOFHIA2d8TwmGTDVs/Jq0ex6jV1etYdyPaT OJK5xLRxXkxNe3dk/3LeeKhREKnWADvNNGWQEUte+QRY/UBDUyiW23p+JD3LYqWzhn0F TDUg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t16si1023272ilh.72.2021.08.16.20.56.02; Mon, 16 Aug 2021 20:56:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237438AbhHQDzt (ORCPT + 99 others); Mon, 16 Aug 2021 23:55:49 -0400 Received: from mx21.baidu.com ([220.181.3.85]:58256 "EHLO baidu.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S233832AbhHQDzs (ORCPT ); Mon, 16 Aug 2021 23:55:48 -0400 Received: from BJHW-Mail-Ex15.internal.baidu.com (unknown [10.127.64.38]) by Forcepoint Email with ESMTPS id 5D366BABB1A3A351EAF1; Tue, 17 Aug 2021 11:55:09 +0800 (CST) Received: from BJHW-Mail-Ex15.internal.baidu.com (10.127.64.38) by BJHW-Mail-Ex15.internal.baidu.com (10.127.64.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Tue, 17 Aug 2021 11:55:09 +0800 Received: from BJHW-Mail-Ex15.internal.baidu.com ([100.100.100.38]) by BJHW-Mail-Ex15.internal.baidu.com ([100.100.100.38]) with mapi id 15.01.2308.014; Tue, 17 Aug 2021 11:55:09 +0800 From: "Li,Rongqing" To: Daniel Jordan CC: Peter Zijlstra , "mingo@redhat.com" , "juri.lelli@redhat.com" , "vincent.guittot@linaro.org" , "dietmar.eggemann@arm.com" , "rostedt@goodmis.org" , "bsegall@google.com" , "mgorman@suse.de" , "bristot@redhat.co" , "linux-kernel@vger.kernel.org" , "songmuchun@bytedance.com" , =?utf-8?B?TWljaGFsIEtvdXRuw70=?= Subject: =?utf-8?B?562U5aSNOiDnrZTlpI06IFtQQVRDSF1bUkZDXSBzY2hlZC9jcHVhY2N0OiBG?= =?utf-8?Q?ix_cpuacct_charge?= Thread-Topic: =?utf-8?B?562U5aSNOiBbUEFUQ0hdW1JGQ10gc2NoZWQvY3B1YWNjdDogRml4IGNwdWFj?= =?utf-8?Q?ct_charge?= Thread-Index: AQHXhGNHnHFIMTHAy0CLZm3Kh0/OWKtbLEpQgBq6PYCAAUdCUA== Date: Tue, 17 Aug 2021 03:55:08 +0000 Message-ID: <06265d4d0df7410786d0ddb9bdbc4e4c@baidu.com> References: <20210720060441.22550-1-lirongqing@baidu.com> <4bf6cd58adb5411e989530e1443f9698@baidu.com> <20210816162103.dup2hbho24wtmsgs@oracle.com> In-Reply-To: <20210816162103.dup2hbho24wtmsgs@oracle.com> Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.22.194.51] x-baidu-bdmsfe-datecheck: 1_BJHW-Mail-Ex15_2021-08-17 11:55:09:269 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PiA+IGRpZmYgLS1naXQgYS9rZXJuZWwvc2NoZWQvY3B1YWNjdC5jIGIva2VybmVsL3NjaGVkL2Nw dWFjY3QuYyBpbmRleA0KPiA+IDg5M2VlY2UuLjQ4YjExN2UgMTAwNjQ0DQo+ID4gLS0tIGEva2Vy bmVsL3NjaGVkL2NwdWFjY3QuYw0KPiA+ICsrKyBiL2tlcm5l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