Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp16968177ybl; Wed, 1 Jan 2020 18:29:10 -0800 (PST) X-Google-Smtp-Source: APXvYqw4rppKnGE0XMTThyCXV0lzAKY7QTy6dhjg+IIeSFIn6Ggk9g+cjNGvLQdWIczhzaOH+v3g X-Received: by 2002:a05:6830:2057:: with SMTP id f23mr88672499otp.110.1577932150835; Wed, 01 Jan 2020 18:29:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577932150; cv=none; d=google.com; s=arc-20160816; b=eFvKJsJ4bz2F2NllKxlhvgQ1Yx99RacyYFoUowboAXl+mjsg4X/j/jHUtr7MecOwjZ uEnJ6YuNcshgTIuDRazzYp7vdvpnjyy77+0nbP//zCRUy6fakwqevg9Wl7drC1dC7BX1 jjMPaIpNKFXxWUFMegvdKcGxNFvQ1m8luMzuWO9WU9YgjnyhxX6RprTOMqT9l+Wv/SXd teLP+CnO7riD7vBeYU7KJmvURHhyjNyWUOi2Zty5jBTBMzwGo0fshY2CTivAHT84YJ1+ a1PvNeTKcSU0w+FKoULsLIy5Cx31/Rkazz3GB9Lhe2ZYeGfhNFYG3pq/yNH5qK+lb99E M+7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=SGNxaewdrTbTzGKjmUA5ftF1ZGMSdAFvmL1IP1j8rRI=; b=L1SytY10y6T2ybGG8eC7n2aVIwKU9VMj/zMawTsQ1QZ2gvF3KfVVldGPwkyv/G0rGc 6gxBFmNXjvHiapGiHsNXkGhFviYgr8By+npy5j9zRzkiCM2c2IIGG+h+Wdx6WfCeBPqw fX1eMTUbFKOZ7DhypbAKsldVTTOg0B1MvXEfxTLnexNkPCtlaV6QL6gC69VLVrZnNdHQ YL3LbDAnVz3dUKeGTwIkq7iLB0ardW+ur1e+a7gNLNKAQc6Kz5EWkhQRDu3IUfhd9Qcv JB4XivpQis8kn5AA5yXbLEEjPrZHxAGPWqB7Pq4KW4hyYX+6vCWHoHkTvSlzbV4RlhRk cYVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=MtAzKB09; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z14si22860761oih.89.2020.01.01.18.28.58; Wed, 01 Jan 2020 18:29:10 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=MtAzKB09; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727524AbgABC2Q (ORCPT + 99 others); Wed, 1 Jan 2020 21:28:16 -0500 Received: from mail-lj1-f194.google.com ([209.85.208.194]:37178 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727509AbgABC2P (ORCPT ); Wed, 1 Jan 2020 21:28:15 -0500 Received: by mail-lj1-f194.google.com with SMTP id o13so27952566ljg.4 for ; Wed, 01 Jan 2020 18:28:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=SGNxaewdrTbTzGKjmUA5ftF1ZGMSdAFvmL1IP1j8rRI=; b=MtAzKB09r6Y6cNzd1HZw6Qg4/cwNpGkFiJ7bv5/WSrk9GDJOYHnaIqfIuS0LJm37TT 0FQMYaer0N1iEqFyZTvmIAHfWLfDDV+26FFjfIhO2cvmWzCNfGviz5BAbbg4PdYW4m+o BhTrBfU797iPijrDKOYsLmGuQnWS6gE9QAzd6oPZoQpdYpGE+KQYS8UXf0Sc8zcvBnsR FhUm4ZxS/k3Qom/tEULVxnGJTROncEjVLLYySwAGoGVW0yI9iC6yJ3ZHVA2TOfn/5abN trw/3s4ToQXe2fb19u10PP5uztQ6bhzqjm0EaeKhqyM3ujVEoKZ54M/MLj2/sNGt+FmW Lzdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=SGNxaewdrTbTzGKjmUA5ftF1ZGMSdAFvmL1IP1j8rRI=; b=LOnp/yKSMTGoTUCBWi2nMH7/5timzfdGC6f65LBm3l8bQTAFCoKdY3w+YvVfaoOFcB 8CjL1z7FhmwpbEYQKvqReu1EFVwcwrb+WuYEIFXYdiqBNTCEIPa3AEK3qOU6JIi/LI0J ukTFYY7hpe+Awz0TSkwGEnGil+zxYRBjzHB7oYMY26HvYslDMUYUrjC1/w5sRA/bRZoj SakalPh5m3coEVCAuMkhIBiI4joX+0UnPOqXW9j6wiKbuLIsj5jWLCAmr9P8R4oX2cPz 6TLZpKCS4r7L35KuneZuBYoyHGopM0Ga+dkOlKqmaiRnQC3CgObi7u1usb58Qm1w4lqY kV4A== X-Gm-Message-State: APjAAAXujLC5VesH6vwcBZroQaoizBlCifDDqDaioxBGe+AOpRPxNcyq OFIokzO1DhdFd75nVR7Ue85Tj5gv79iLT4auVMA= X-Received: by 2002:a2e:9f17:: with SMTP id u23mr30923817ljk.112.1577932093904; Wed, 01 Jan 2020 18:28:13 -0800 (PST) MIME-Version: 1.0 References: <20191031184236.GE5738@pauld.bos.csb> <84ccea513e4ff21bdd374af01574e4bf04946bb6.camel@suse.com> In-Reply-To: <84ccea513e4ff21bdd374af01574e4bf04946bb6.camel@suse.com> From: Aubrey Li Date: Thu, 2 Jan 2020 10:28:02 +0800 Message-ID: Subject: Re: [RFC PATCH v4 00/19] Core scheduling v4 To: Dario Faggioli Cc: Vineeth Remanan Pillai , Phil Auld , Nishanth Aravamudan , Julien Desfossez , Peter Zijlstra , Tim Chen , 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 Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Thanks, -Aubrey