Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp2274768imb; Mon, 4 Mar 2019 00:27:39 -0800 (PST) X-Google-Smtp-Source: APXvYqzviccWrtZmmeIF0VIlN5mV2OtrLlImoqdn1DPME6+qgJlmxc3cQzd9h798w/+lPh6/+pqc X-Received: by 2002:a17:902:bd47:: with SMTP id b7mr19269655plx.336.1551688059317; Mon, 04 Mar 2019 00:27:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551688059; cv=none; d=google.com; s=arc-20160816; b=LMRUJBHoI+vt1KrMqG749n60q+uZrzxUw+8hAIBGz6+LO7J2yGD41+0FEwdA8wax9P Ek7sbyCXSieYA/uzeiqbmKxc9dfCOMr5KEXSfPQLkZuYaVybtUrMxgvSu29DskPFumuU wOYBtGNXdkIPX+UYMICIQBc4csaBnSYBcSHmw5q/OEld3dcSotzgJmVPNjGchOb9+xtb EUfMwTS4iaRTtxbPlMc/ReBvofXW528WUMoaaTYLH7fB4vt7VOJb9zF6ZebOKpjrjqTN +PusE9DBg7V75yUC/OoBK3JO6ma0bAbqJ7lbOxk8wHnQL9iOtfuc1A0M5/hH5NFd7bZ6 Ju7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender: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=ONBsEuHY2cOosq4Ee8gFd3W4RFlI2MPegkwqdNEgLKI=; b=LeV7dRHzR8jL58W5nRpCV1rjPe0Gb8cgF16hNdVzrHRhAwTOFzgJTBST+dcfOjcDzB C3sPB7SzNHSyTa9U3qBC5bJhb9XHVu/yjBRLWiZyQu5/TLYM6dLjogAsxLyEEHozM9hG 3YEZGDXF+6+iFzF2vgq8dw/TP/GxxzFKt1rJ5VyBcgj2Ynh1QSTEmfX77Kyk/M83/Sa3 OBG3wR7XCsR40e/2LQiM4daDyiLKEevS4catNNnSG5KVrAHPlCOjQiwcRRT+VhWUEE4y /eJ1Uw7xWX/1hbVHAKfeEgRp+BKxikY2UYaTpBLaVD+3xo+zH0P+gCpZScKS/oXOO9P6 u4HQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a6si4805569plp.199.2019.03.04.00.27.24; Mon, 04 Mar 2019 00:27:39 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727019AbfCDI00 (ORCPT + 99 others); Mon, 4 Mar 2019 03:26:26 -0500 Received: from mx1.unisoc.com ([222.66.158.135]:27604 "EHLO SHSQR01.unisoc.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726264AbfCDI0Z (ORCPT ); Mon, 4 Mar 2019 03:26:25 -0500 X-Greylist: delayed 2968 seconds by postgrey-1.27 at vger.kernel.org; Mon, 04 Mar 2019 03:26:24 EST Received: from SHSQR01.spreadtrum.com (localhost [127.0.0.2] (may be forged)) by SHSQR01.unisoc.com with ESMTP id x247ZcJQ098298 for ; Mon, 4 Mar 2019 15:35:38 +0800 (CST) (envelope-from Vincent.Wang@unisoc.com) Received: from ig2.spreadtrum.com (bjmbx02.spreadtrum.com [10.0.64.8]) by SHSQR01.spreadtrum.com with ESMTPS id x247YLgS094397 (version=TLSv1 cipher=AES256-SHA bits=256 verify=NO); Mon, 4 Mar 2019 15:34:21 +0800 (CST) (envelope-from Vincent.Wang@unisoc.com) Received: from BJMBX02.spreadtrum.com (10.0.64.8) by BJMBX02.spreadtrum.com (10.0.64.8) with Microsoft SMTP Server (TLS) id 15.0.847.32; Mon, 4 Mar 2019 15:35:16 +0800 Received: from BJMBX02.spreadtrum.com ([::1]) by BJMBX02.spreadtrum.com ([fe80::c9e4:4931:cd9a:28bc%19]) with mapi id 15.00.0847.030; Mon, 4 Mar 2019 15:35:04 +0800 From: =?gb2312?B?V2FuZywgVmluY2VudCAozfXV+Sk=?= To: Quentin Perret , =?gb2312?B?WmhhbmcsIENodW55YW4gKNXFtLrR3ik=?= CC: Ingo Molnar , Peter Zijlstra , "linux-kernel@vger.kernel.org" , Chunyan Zhang Subject: =?gb2312?B?tPC4tDogW1BBVENIIFY0XSBzY2hlZC9jcHVmcmVxOiBpbml0aWFsaXplIGlv?= =?gb2312?B?d2FpdF9ib29zdF9tYXggYW5kIGlvd2FpdF9ib29zdCB3aXRoIGNwdSBjYXBh?= =?gb2312?Q?city?= Thread-Topic: [PATCH V4] sched/cpufreq: initialize iowait_boost_max and iowait_boost with cpu capacity Thread-Index: AQHUyprCR4vLXD8BrkqaGh/KshRMf6XrIC+AgBAB/ko= Date: Mon, 4 Mar 2019 07:35:04 +0000 Message-ID: <9099990618e242e1bab77ce3f9d9b1e3@BJMBX02.spreadtrum.com> References: <1550831866-32749-1-git-send-email-chunyan.zhang@unisoc.com>,<20190222105957.wxhlcmoag5f3i4fi@queper01-lin> In-Reply-To: <20190222105957.wxhlcmoag5f3i4fi@queper01-lin> Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.0.74.90] Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MAIL: SHSQR01.spreadtrum.com x247YLgS094397 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RGlkIHlvdSBtZWFuIHRoZSB2YWx1ZSBvZiBhcmNoX3NjY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