Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp560793ybh; Wed, 22 Jul 2020 07:36:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw2MrQkhC/6z4O+b8fTeyZtRn549n/xAtfWmrt5uZ1dCMCea/6w7M4DcVbofA+b/6W05T6p X-Received: by 2002:a17:906:c04d:: with SMTP id bm13mr29850208ejb.321.1595428577171; Wed, 22 Jul 2020 07:36:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595428577; cv=none; d=google.com; s=arc-20160816; b=tD5Lvv2oCSxgD0AddjkXJmao9l2pNz+JfnAjxBcalvdHLtSwWbq+PmBFR/MTMuoST/ vlBY+ToUff3FyvcC/K50ym+b1BgjiIH3i/6xqcce7baxyOsNJxDXOp8K4iwbbHj0Td5z jG3Tj6uovy/dvzeVTUoI0QS7Vzp22cUukHXkgvgf4YA3rjY4Fpj2dAEk43DhmhxPAE1N xzrRzD0YtrT/EX7IyHcqdVOBOVaVy7HTqRYglbXYVqZGZ8L1lutSTf2GV0JrMoJotuLf 3xhvgT2xEoA5q3O113gKutV+PA/yiaSnQ5SWWhIkhH752MOBmAX5dl0/tJOrUff8bMbB BuZw== 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-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=Z2naWdkIdk8xQP5Mc+tKdcYwTdGtopEZS5kXbnY+tqA=; b=oOOdN6+L2dae87WC2u8QjQcRaf5BtoA4eNDXIrrOB3vC6NPXsov9xfZBzyxC0Ov/M0 0HGXQzOaYlIm051ltONFCgzm9Gp38pXsS4tVk0Y+pp4z1A/y14fi0ajrIH2qbrskBDOl WNvIr8s25kLXfHrLSj9oj5AvRL4FHckYSlKh9GAEW0URH2p+TCySCdqm1uA7xJfkLVRR 6mfB2GOH/xZDuq5fpgFBQ4QI7xYCCU04i7yl1tS9wASelTppRvp93a19Inc55y6gf0cD VyndCwA1cBOZDIeEgqBbonhz8DFrvTRs+W/zS6dM+umpTTVzk0EPEFhAwk7bpMEOOt0V LBBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tencent.com header.s=s202002 header.b=JSp0Wq0y; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=tencent.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k19si126996ejk.27.2020.07.22.07.35.51; Wed, 22 Jul 2020 07:36:17 -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; dkim=pass header.i=@tencent.com header.s=s202002 header.b=JSp0Wq0y; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=tencent.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732594AbgGVOcs (ORCPT + 99 others); Wed, 22 Jul 2020 10:32:48 -0400 Received: from mail6.tencent.com ([220.249.245.26]:54568 "EHLO mail6.tencent.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729642AbgGVOcs (ORCPT ); Wed, 22 Jul 2020 10:32:48 -0400 Received: from EX-SZ018.tencent.com (unknown [10.28.6.39]) by mail6.tencent.com (Postfix) with ESMTP id A2D73CC1A2; Wed, 22 Jul 2020 22:33:45 +0800 (CST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tencent.com; s=s202002; t=1595428425; bh=Z2naWdkIdk8xQP5Mc+tKdcYwTdGtopEZS5kXbnY+tqA=; h=From:To:CC:Subject:Date:References:In-Reply-To; b=JSp0Wq0yzkvbD5zWVckKTC9/mh+yD0LmA4rxPcLoiVm5HPPfgNplnzPKw81vwqFdh d6VoEhsmkF5HBFdaqdY0quux/C5j38Q5zZ+fMUrSrd24HUyCEWTnObOjwosUZukY+h CX/1gN+hT3T6xQ7oWnZxv7dPXlJQIpuNNZedDKF4= Received: from EX-SZ008.tencent.com (10.28.6.32) by EX-SZ018.tencent.com (10.28.6.39) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1847.3; Wed, 22 Jul 2020 22:32:37 +0800 Received: from EX-SZ012.tencent.com (10.28.6.36) by EX-SZ008.tencent.com (10.28.6.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1847.3; Wed, 22 Jul 2020 22:32:36 +0800 Received: from EX-SZ012.tencent.com ([fe80::f57b:8971:e6d4:fe6b]) by EX-SZ012.tencent.com ([fe80::f57b:8971:e6d4:fe6b%3]) with mapi id 15.01.1847.007; Wed, 22 Jul 2020 22:32:36 +0800 From: =?utf-8?B?YmVuYmppYW5nKOiSi+W9qik=?= To: "Li, Aubrey" CC: Vineeth Remanan Pillai , Nishanth Aravamudan , Julien Desfossez , Peter Zijlstra , "Tim Chen" , "mingo@kernel.org" , "tglx@linutronix.de" , "pjt@google.com" , "torvalds@linux-foundation.org" , Aubrey Li , "linux-kernel@vger.kernel.org" , "subhra.mazumdar@oracle.com" , "fweisbec@gmail.com" , "keescook@chromium.org" , "kerrnel@google.com" , Phil Auld , Aaron Lu , Aubrey Li , Valentin Schneider , Mel Gorman , Pawan Gupta , Paolo Bonzini , Joel Fernandes , "joel@joelfernandes.org" , "vineethrp@gmail.com" , Chen Yu , Christian Brauner Subject: Re: [RFC PATCH 11/16] sched: migration changes for core scheduling(Internet mail) Thread-Topic: [RFC PATCH 11/16] sched: migration changes for core scheduling(Internet mail) Thread-Index: AQHWTzVqBGu6Ndoz306mL65QHjIl9akS5uOAgAA3egCAACb+AA== Date: Wed, 22 Jul 2020 14:32:36 +0000 Message-ID: <5C71B460-8DC3-44AF-A75E-68BB2E33686B@tencent.com> References: <9044a2ebde089483d45c091752d208a878c604ac.1593530334.git.vpillai@digitalocean.com> <72869477-AA03-47D4-96C5-D3CDBDBC12E7@tencent.com> <459dbf33-02f6-d4e0-52e4-919e1e33be13@linux.intel.com> In-Reply-To: <459dbf33-02f6-d4e0-52e4-919e1e33be13@linux.intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [9.19.161.102] Content-Type: text/plain; charset="utf-8" Content-ID: <9FBA1094C0084643A45171559B324100@tencent.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGksDQoNCj4gT24gSnVsIDIyLCAyMDIwLCBhdCA4OjEzIFBNLCBMaSwgQXVicmV5IDxhdWJyZXku bGlAbGludXguaW50ZWwuY29tPiB3cm90ZToNCj4gDQo+IE9uIDIwMjAvNy8yMiAxNjo1NCwgYmVu YmppYW5nKOiSi+W9qikgd3JvdGU6DQo+PiBIaSwgQXVicmV5LA0KPj4gDQo+Pj4gT24gSnVsIDEs IDIwMjAsIGF0IDU6MzIgQU0sIFZpbmVldGggUmVtYW5hbiBQaWxsYWkgPHZwaWxsYWlAZGlnaXRh bG9jZWFuLmNvbT4gd3JvdGU6DQo+Pj4gDQo+Pj4gRnJvbTogQXVicmV5IExpIDxhdWJyZXkubGlA aW50ZWwuY29tPg0KPj4+IA0KPj4+IC0gRG9uJ3QgbWlncmF0ZSBpZiB0aGVyZSBpcyBhIGNvb2tp ZSBtaXNtYXRjaA0KPj4+ICAgIExvYWQgYmFsYW5jZSB0cmllcyB0byBtb3ZlIHRhc2sgZnJvbSBi dXNpZXN0IENQVSB0byB0aGUNCj4+PiAgICBkZXN0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