Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp459331pxb; Thu, 5 Nov 2020 04:54:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJyLgykr3bPIRwP2fn0i8CIdknq5C8j9SW+/Ga8ipIc7tQH0NkWmi51iuI4pwV5NQssYCS7w X-Received: by 2002:a50:d2c5:: with SMTP id q5mr2423553edg.158.1604580849984; Thu, 05 Nov 2020 04:54:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604580849; cv=none; d=google.com; s=arc-20160816; b=W3xJNW+mruS2s6wiJgWmjq6pnh+pf9nPjSTK3GAUHMcuEcItO94p9WLmwJAJsUkKU4 5Hf25wiQs+fmrsrdwEKuXmuryeJJDYI3DsFAWMZM/2+ZP5IHih5cjSGsm0ZRox0fX1V6 766G5znGnHsaBScMh+y/Qfw/e4pcdqTdnx/I92Evkn4xcso+nqZ6HI2irnGXe+5IJRPn zPg/ZpXOQNIov7W4crPpJ5iqZLwFN5wULgunwKMhWamzqK0ZN+NhBq8tTaoUCpedx1T+ wUu2G/A+/FRQiPMACxLJg982oiwAdZcTFxgZmvMDZTaTGXvPTNBcO3hoKvyUlzJajC3/ U2Ow== 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=c7FVnjCRYlZMo21wkif226pawW9GsNpWPSuByiJ4UBw=; b=UHpW29yOhtI0IA3MrEAOFmzheaevnHkSimW0JYhfvmuupNXT0znvRTfffeRpqEhJUM PY5me8DR8D5fmHHGMoH04JhsFhWUrctlzFdGojcIhwds/2kSxTIcq2rQklK/4u2EfcW0 wsZLelbVOZ2zAwhKspT4lGF4BtRKeICvkikO3+juNuc30bdIhzUAOPLld2zu68e2o2NN +myrEBCU7ERMs+kDxsU3VR6kW1/JTM7TKKH5HFeA8aXZZVI1P2ELFQiMb9BZd1mM4+/x fciqmtZ9Kx7L6ype4ZoUXO6XymYKYiAbPRErojtOhnl0QBj+ttziOYHB5MLiKAH1VspT 0Akw== 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 r19si985801eju.332.2020.11.05.04.53.46; Thu, 05 Nov 2020 04:54:09 -0800 (PST) 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 S1730577AbgKEMud (ORCPT + 99 others); Thu, 5 Nov 2020 07:50:33 -0500 Received: from sci-ig2.spreadtrum.com ([222.66.158.135]:11649 "EHLO SHSQR01.spreadtrum.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1730594AbgKEMud (ORCPT ); Thu, 5 Nov 2020 07:50:33 -0500 Received: from ig2.spreadtrum.com (bjmbx01.spreadtrum.com [10.0.64.7]) by SHSQR01.spreadtrum.com with ESMTPS id 0A5Co9cH052921 (version=TLSv1 cipher=AES256-SHA bits=256 verify=NO); Thu, 5 Nov 2020 20:50:09 +0800 (CST) (envelope-from Xuewen.Yan@unisoc.com) Received: from BJMBX02.spreadtrum.com (10.0.64.8) by BJMBX01.spreadtrum.com (10.0.64.7) with Microsoft SMTP Server (TLS) id 15.0.847.32; Thu, 5 Nov 2020 20:50:10 +0800 Received: from BJMBX02.spreadtrum.com ([::1]) by BJMBX02.spreadtrum.com ([fe80::f5ea:e944:c620:5c02%19]) with mapi id 15.00.0847.030; Thu, 5 Nov 2020 20:50:10 +0800 From: =?gb2312?B?48bRp87EIChYdWV3ZW4gWWFuKQ==?= To: Vincent Guittot CC: Ingo Molnar , Peter Zijlstra , Juri Lelli , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , "Daniel Bristot de Oliveira" , linux-kernel , "xuewen.yan94@gmail.com" Subject: =?gb2312?B?tPC4tDogW1BBVENIIHYyXSBzY2hlZDogcmV2aXNlIHRoZSBpbml0aWFsIHZh?= =?gb2312?Q?lue_of_the_util=5Favg.?= Thread-Topic: [PATCH v2] sched: revise the initial value of the util_avg. Thread-Index: AQHWs2+McwzR+LmetkKPWSFROPIlzqm5eiO4 Date: Thu, 5 Nov 2020 12:50:10 +0000 Message-ID: References: <1604575253-2386-1-git-send-email-xuewen.yan@unisoc.com>, In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.0.93.65] Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MAIL: SHSQR01.spreadtrum.com 0A5Co9cH052921 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGksVmluY2VudCwNCg0KQXQgZmlyc3QsIEkgdGhpbmsgInNhLT51dGlsX2F2ZyAgPSBjZnNfcnEt PmF2Zy51dGlsX2F2ZyAqIHNlX3dlaWdodChzZSkiIHNob3VsZA0KYXBwbHkgdG8gYWxsIGNsYXNz ZXMsIGJ1dCBJIGFtIG5vdCBzdXJlIGhvdyB0aGlzIG1vZGlmaWNhdGlvbiB3b3VsZCBhZmZlY3Qg b3RoZXIgY2xhc3Nlcy4NCnNvIEkgYWRkZWQgdGhpcyBjZnMgY29uZGl0aW9uLg0KDQpBcyB5b3Ug c2FpZCwgdGhpcyBpcyBtZWFuaW5nbGVzcyBmb3IgdGhpcyBlbHNlIGtlZXBzIHVzaW5nIHNlLT5s b2FkLndlaWdodC4NCg0KVGhhbmtzIQ0KDQoNCl9fX19fX19fX19fX19fX19fX19fX19fX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