Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1271622ybl; Fri, 10 Jan 2020 15:21:11 -0800 (PST) X-Google-Smtp-Source: APXvYqzs8/si2vPzYhyV1WeX+wXWumc0XpSVepJJ8jAzXwmuOQxrLPMpvmPEdlSynBI3CViitENf X-Received: by 2002:aca:b984:: with SMTP id j126mr4353481oif.174.1578698471264; Fri, 10 Jan 2020 15:21:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578698471; cv=none; d=google.com; s=arc-20160816; b=zXQ7rjXyRBag39Z8RjjAJfUZ7HiicfkuhgzHbE/IUPCos+Y+Se9EXmB4lPRCbK804z etbNxgNiTbnWFPTlqpK4rk/Sis0vnFbdjGb1GRCaqiE0c0Kbs+DR2brIDMdC3lcM7Mp3 1o77m1iM9V8pkxMSfmOMMFTe82unZ75WrAv40T/li8epQ7JFPXRvtyvRcPoQwR6Qu7Ya 6CQjhFTxNkVUyZWNwQGIN0HsirAXCY86qDRpAntpY5ZYNmk8dfXE9NJ9DKvmT1WSNW5l Bji25NXKJqvd4wF9Wv+i5xUlbAYiHMk3Cxi/tIAkUcfQIU/eHfFddp/nC3je0PnXlsAh sBIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:subject:autocrypt:from:references:cc:to; bh=hDzBw6+GmXsFdDsx0C+YdSaqpfacj8VUsN/GhWXzwOM=; b=rj1eOrvqyI5SHzpB5UTInYbBWnIpaU8l+zTg7zAeIauKWr6ANj3b7Gg9IAKixG4KV8 mvU678RifdaAFF3M+rJ3Wm+q4ITumldG+M6TNaFhtlTyNoTm4O18GMu2Fa73K12Z8XV3 ucPVFoetpzb4MSzZ551InmmHZUOs8ZoOO2RVZtAecrHW5fm4DZRMLjYj8J9YKA1mIwNU DYG3sC8h6ZlBdsA1AJ4s+71frX7Eixdvx3VSwSk1mz4j63lMxW14QGV7uwghTaWvc7FN Vlo4momjtDuENtRmbHNOuIQ76CitvnV/aM0JAKj6vuhLjiYGdLcQTpfWf7oJ0knoyd1z NaPA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v3si1806736oif.122.2020.01.10.15.20.58; Fri, 10 Jan 2020 15:21:11 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727474AbgAJXTk (ORCPT + 99 others); Fri, 10 Jan 2020 18:19:40 -0500 Received: from mga17.intel.com ([192.55.52.151]:8843 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727369AbgAJXTj (ORCPT ); Fri, 10 Jan 2020 18:19:39 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Jan 2020 15:19:38 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,418,1571727600"; d="scan'208";a="223965585" Received: from schen9-desk.jf.intel.com (HELO [10.54.74.162]) ([10.54.74.162]) by orsmga006.jf.intel.com with ESMTP; 10 Jan 2020 15:19:38 -0800 To: Aubrey Li , Dario Faggioli Cc: Vineeth Remanan Pillai , Phil Auld , Nishanth Aravamudan , Julien Desfossez , Peter Zijlstra , Ingo Molnar , Thomas Gleixner , Paul Turner , Linus Torvalds , Linux List Kernel Mailing , =?UTF-8?B?RnLDqWTDqXJpYyBXZWlzYmVja2Vy?= , Kees Cook , Greg Kerr , Aaron Lu , Valentin Schneider , Mel Gorman , Pawan Gupta , Paolo Bonzini References: <20191031184236.GE5738@pauld.bos.csb> <84ccea513e4ff21bdd374af01574e4bf04946bb6.camel@suse.com> From: Tim Chen Autocrypt: addr=tim.c.chen@linux.intel.com; prefer-encrypt=mutual; keydata= mQINBE6ONugBEAC1c8laQ2QrezbYFetwrzD0v8rOqanj5X1jkySQr3hm/rqVcDJudcfdSMv0 BNCCjt2dofFxVfRL0G8eQR4qoSgzDGDzoFva3NjTJ/34TlK9MMouLY7X5x3sXdZtrV4zhKGv 3Rt2osfARdH3QDoTUHujhQxlcPk7cwjTXe4o3aHIFbcIBUmxhqPaz3AMfdCqbhd7uWe9MAZX 7M9vk6PboyO4PgZRAs5lWRoD4ZfROtSViX49KEkO7BDClacVsODITpiaWtZVDxkYUX/D9OxG AkxmqrCxZxxZHDQos1SnS08aKD0QITm/LWQtwx1y0P4GGMXRlIAQE4rK69BDvzSaLB45ppOw AO7kw8aR3eu/sW8p016dx34bUFFTwbILJFvazpvRImdjmZGcTcvRd8QgmhNV5INyGwtfA8sn L4V13aZNZA9eWd+iuB8qZfoFiyAeHNWzLX/Moi8hB7LxFuEGnvbxYByRS83jsxjH2Bd49bTi XOsAY/YyGj6gl8KkjSbKOkj0IRy28nLisFdGBvgeQrvaLaA06VexptmrLjp1Qtyesw6zIJeP oHUImJltjPjFvyfkuIPfVIB87kukpB78bhSRA5mC365LsLRl+nrX7SauEo8b7MX0qbW9pg0f wsiyCCK0ioTTm4IWL2wiDB7PeiJSsViBORNKoxA093B42BWFJQARAQABtDRUaW0gQ2hlbiAo d29yayByZWxhdGVkKSA8dGltLmMuY2hlbkBsaW51eC5pb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JG0pRzNaC/F+0hNf63F1iSXzIlncHZ3By15bnt5QDk l50q2K/r651xphs7CGEdKi1nU0YJVbQxJQ== Subject: Re: [RFC PATCH v4 00/19] Core scheduling v4 Message-ID: <181df2bd-6633-3c4f-fe63-cf987a8f461f@linux.intel.com> Date: Fri, 10 Jan 2020 15:19:38 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/1/20 6:28 PM, Aubrey Li wrote: > On Tue, Nov 12, 2019 at 9:45 AM Dario Faggioli wrote: >> >> On Fri, 2019-11-01 at 10:03 -0400, Vineeth Remanan Pillai wrote: >>> Hi Phil, >>> >>>> Unless I'm mistaken 7 of the first 8 of these went into sched/core >>>> and are now in linux (from v5.4-rc1). It may make sense to rebase >>>> on >>>> that and simplify the series. >>>> >>> Thanks a lot for pointing this out. We shall test on a rebased 5.4 RC >>> and post the changes soon, if the tests goes well. For v3, while >>> rebasing >>> to an RC kernel, we saw perf regressions and hence did not check the >>> RC kernel this time. You are absolutely right that we can simplify >>> the >>> patch series with 5.4 RC. >>> >> And, in case it's useful to anybody, here's a rebase of this series on >> top of 5.4-rc7: >> >> https://github.com/dfaggioli/linux/tree/wip/sched/v5.4-rc7-coresched >> > > In case it's useful to anyone, I rebased the series on top of v5.5-rc4. > https://github.com/aubreyli/linux/tree/coresched_v4-v5.5-rc4 > > v5.5 includes a few scheduler rework and fix, so I modified patch1/2/6, > patch-0002 has relatively big changes, but still has no functionality > and logic change. > > 0001-sched-Wrap-rq-lock-access.patch > 0002-sched-Introduce-sched_class-pick_task.patch > 0003-sched-Core-wide-rq-lock.patch > 0004-sched-Basic-tracking-of-matching-tasks.patch > 0005-sched-A-quick-and-dirty-cgroup-tagging-interface.patch > 0006-sched-Add-core-wide-task-selection-and-scheduling.patch > 0007-sched-fair-Add-a-few-assertions.patch > 0008-sched-Trivial-forced-newidle-balancer.patch > 0009-sched-Debug-bits.patch > 0010-sched-fair-wrapper-for-cfs_rq-min_vruntime.patch > 0011-sched-fair-core-wide-vruntime-comparison.patch > 0012-sched-fair-Wake-up-forced-idle-siblings-if-needed.patch > > I verified by my test suites, it seems to work. > Peter, What do you see are the next steps to move the core scheduling functionalities forward? We'll like to find out what you see are the gaps that needed to be filled to get this patchset be considered for mainline. Thanks. Tim