Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp630854pxy; Thu, 22 Apr 2021 09:45:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz/tWlb8bDL6KJVo3AUEuJEVlXpAXeXVGZ3ujCBNx7nJUs3dQXtBiObCGqFY+leoeUlzudV X-Received: by 2002:a05:6402:5203:: with SMTP id s3mr4987584edd.360.1619109934374; Thu, 22 Apr 2021 09:45:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619109934; cv=none; d=google.com; s=arc-20160816; b=gp2i8M74Dnozu9R34iS3AtNqUnru8R9G+ZODEg8LTD5zfZcGkZybOIuiOXlNels3qq U+AAyFvtmumdm9yBssGID2Y1+hSYKZobnIAmhP52SXS0dSVEBVxY6sorSvSOF2Ws1IZu YyEKe6atA+GOJmrhry8bS4oo8DjWQ7UPZuoymshIt8xdkylhwhuCoHI2W0yjR/9Y8KB7 yr7qTZ/7NCzXFvv50wqikmOLAPPNPzpFIZ0K6r8Wxb+fGYoia7HeUHVX3fYAMcl3xXoR JL6aF+xelPnGv02DYql8xSdpyude+rVMWF50Irofnh6lm19Z4PfyKL1hepytypbe+T+x 6L0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=/9ZCA1jpSijMrLEuBfryYeCSXFosZIBDTpSAgfFxECU=; b=Z+sOkQcOcyZkZWDo08mPdkEE114msoWELK7sSfH/fuhb1pXrbQm7RsDPSshYEiHYx5 OGRnIYJ+n8yxTrpSKWFnKs4cupfR4KFal4qG0dPtNLDXlr6heRZ3pf8kE+p2rumsRO2O BTG7v3UsSQVSCnY2zSFLzwTTDmYBtSeFfO5sZ3JrK8rqD5QYRCEmul25qmxfwcvuauSE ZUz0W4mQJNPT8vkBuFlwXQ5aKlz+UcphWwmGLDAOrCqfvuljedXlGo1WIGGCULdEJM3s ytSed3k7DLUvbH7pX/cMVocaLgUYW5rFUZqsdABTaHopEKAHh5f00w6s/5ux5gs3Olog YMRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@digitalocean.com header.s=google header.b=Enp+Rf14; 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=REJECT sp=REJECT dis=NONE) header.from=digitalocean.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a14si2887919ejv.348.2021.04.22.09.45.09; Thu, 22 Apr 2021 09:45:34 -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=@digitalocean.com header.s=google header.b=Enp+Rf14; 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=REJECT sp=REJECT dis=NONE) header.from=digitalocean.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236287AbhDVQor (ORCPT + 99 others); Thu, 22 Apr 2021 12:44:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232670AbhDVQoq (ORCPT ); Thu, 22 Apr 2021 12:44:46 -0400 Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DCA67C06174A for ; Thu, 22 Apr 2021 09:44:11 -0700 (PDT) Received: by mail-lj1-x22f.google.com with SMTP id a5so15637965ljk.0 for ; Thu, 22 Apr 2021 09:44:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=digitalocean.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/9ZCA1jpSijMrLEuBfryYeCSXFosZIBDTpSAgfFxECU=; b=Enp+Rf14e067EBgnKIXnKbunUmlpWq+PCFBxeF3S3f0flWUSIGJc9W8hw3nJKJe1MO tvXYZULzrizz+YKrHAQC7vEE5v4mLqxoKkTDaK39CGK4NUuSH4oAiG5Jxrkrp3YgCMSI +cmZmFOco8sLou5PwI+leHlmmmcjr/Vwhak+E= 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=/9ZCA1jpSijMrLEuBfryYeCSXFosZIBDTpSAgfFxECU=; b=U6ZO7Ndszul6kjkPG9SHKjeAel8gPWLfaulG8qdqN5cPLa7izKEsodk1XpJl5N3PTF jRXixSat89iJo8CyFtKN5ICDFj0EpX/UQlvLpwoZ01c2W/d/miGUiYzhhmdPRfmVbjIW zU6XCKaeQhx+Xs7h7u/9YauekHjjWcEDJsIRdb7d61I7K8E7rIBg6KBJ+xpL2tqBKNYi RP8cvc4FwQ8h4ZeHQlm5DrC3ZHIZNuTyeFVz9x0/5Kpoqm8F10bItYIy1qcvY0s1qLkL hQuCt3hjXuDlRx3oZIrfdUjCT9xUVaxTqEaFPUfapjxbCXd3ed1yV4GTFay4Jv5LS+Tk fsHw== X-Gm-Message-State: AOAM533NO6aR/uvvh5mTaHldfho4mq4MPDsae/XDKIAoIK3E1+2LZC28 JQ3AAx3orPbr/C8kHTRau8l9+h58Ne9cDX+AkBTiyA== X-Received: by 2002:a2e:9e98:: with SMTP id f24mr3065124ljk.442.1619109850312; Thu, 22 Apr 2021 09:44:10 -0700 (PDT) MIME-Version: 1.0 References: <20210422120459.447350175@infradead.org> In-Reply-To: <20210422120459.447350175@infradead.org> From: Don Hiatt Date: Thu, 22 Apr 2021 09:43:59 -0700 Message-ID: Subject: Re: [PATCH 00/19] sched: Core Scheduling To: Peter Zijlstra Cc: Joel Fernandes , "Hyser,Chris" , Josh Don , mingo@kernel.org, vincent.guittot@linaro.org, valentin.schneider@arm.com, mgorman@suse.de, linux-kernel@vger.kernel.org, tglx@linutronix.de Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 22, 2021 at 5:37 AM Peter Zijlstra wrote: > > Hai, > > This is an agressive fold of all the core-scheduling work so far. I've stripped > a whole bunch of tags along the way (hopefully not too many, please yell if you > feel I made a mistake), including tested-by. Please retest. > > Changes since the last partial post is dropping all the cgroup stuff and > PR_SCHED_CORE_CLEAR as well as that exec() behaviour in order to later resolve > the cgroup issue. > Hi Peter, Is there a reason that PR_SCHED_CORE_CLEAR got removed? It's handy to be able to clear cookies. Thanks, Don > Since we're really rather late for the coming merge window, my plan was to > merge the lot right after the merge window. > > Again, please test. > > These patches should shortly be available in my queue.git. > > --- > b/kernel/sched/core_sched.c | 229 ++++++ > b/tools/testing/selftests/sched/.gitignore | 1 > b/tools/testing/selftests/sched/Makefile | 14 > b/tools/testing/selftests/sched/config | 1 > b/tools/testing/selftests/sched/cs_prctl_test.c | 338 +++++++++ > include/linux/sched.h | 19 > include/uapi/linux/prctl.h | 8 > kernel/Kconfig.preempt | 6 > kernel/fork.c | 4 > kernel/sched/Makefile | 1 > kernel/sched/core.c | 858 ++++++++++++++++++++++-- > kernel/sched/cpuacct.c | 12 > kernel/sched/deadline.c | 38 - > kernel/sched/debug.c | 4 > kernel/sched/fair.c | 276 +++++-- > kernel/sched/idle.c | 13 > kernel/sched/pelt.h | 2 > kernel/sched/rt.c | 31 > kernel/sched/sched.h | 393 ++++++++-- > kernel/sched/stop_task.c | 14 > kernel/sched/topology.c | 4 > kernel/sys.c | 5 > tools/include/uapi/linux/prctl.h | 8 > 23 files changed, 2057 insertions(+), 222 deletions(-) >