Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp400904pxj; Fri, 7 May 2021 11:03:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwJ+X5IcuNjSrjxqdTElar8Aj4AtsyQBHprKwW39jMlb6miBRTFAHqFHcIkip3Aor6c63Oz X-Received: by 2002:a05:6402:36d:: with SMTP id s13mr13042530edw.103.1620410624279; Fri, 07 May 2021 11:03:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620410624; cv=none; d=google.com; s=arc-20160816; b=ePD8gZnJtFp6JpcG5UR7eZNoqF15s7Xk5xAlgRQCzTTqyjnNDZUulw1+Wxv/AWF7wH I5OXgegpNBYb3YKEJj6CFE9i0kNtZQ1LCJYnoEgs3gQlAnMl4lTTYhl0FQ8NHeGtRr1T LQfuviuuw9CnyjZLwQU6SgmjIu1FfhH6nqOtxud8irCaEaAc6CVZrbkkAb698RPH38ie RHZbG2Hk8jf+/K35ShhVPc17hfwrvhUiWpKq0G6IyV4CDChvdx0DVL2qn31+o0wmFUOr zdkp58swaQM8kSYrtggA2TBnn28vvnE698A2Q7RyWvtt2TJvXpuEyolVWWDwPR/1CfbJ 8jJg== 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=OiFf1NwwUvud1mnDtuQmtDxIGqR5e/nfJ7NM5Is87sw=; b=ObqPgFww3ICf/28gA8H5nFO/HOBma/vu2mgE7gPnw8yxVVoVS3/1V3N2CtTpIMPY9l Pvgwh9tN4+IBAA9Gk7K/MRyYaSXOqCqBQZoXgCcPkyUdDhzbi5nrIcpvsYRJ/pI+tH5c t74Cd4TdZeFfQpZD9a2u0yN9YDdZ54HwLs31YuKUwh1DCbYergRgJzlu/ROR+RJnrw/I W/IpNULD8QFbFOmz9BRz/HHBi1vWyETxrAOiEeftyo3ze7Iu2xuCB6PsNcv0kapyAhyJ txjJnfZ7o3/Y38hUPI0T7UYs2zfcN55kJUqAfNR4+v4OJX0ECv+6BfnyOZP+1HgkAfkw zIqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@joelfernandes.org header.s=google header.b=oYfD4vzT; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h16si5887786edv.607.2021.05.07.11.03.19; Fri, 07 May 2021 11:03:44 -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=@joelfernandes.org header.s=google header.b=oYfD4vzT; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229538AbhEGSDT (ORCPT + 99 others); Fri, 7 May 2021 14:03:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229461AbhEGSDS (ORCPT ); Fri, 7 May 2021 14:03:18 -0400 Received: from mail-il1-x12c.google.com (mail-il1-x12c.google.com [IPv6:2607:f8b0:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E0A7C061574 for ; Fri, 7 May 2021 11:02:18 -0700 (PDT) Received: by mail-il1-x12c.google.com with SMTP id e14so8364281ils.12 for ; Fri, 07 May 2021 11:02:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joelfernandes.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=OiFf1NwwUvud1mnDtuQmtDxIGqR5e/nfJ7NM5Is87sw=; b=oYfD4vzTCc927EwqeTaZUZiVyk6EYM8Vnm//QRL1AumSWt6cAtSBlStkF+BcohKFM3 +tKacLNbJX9Z+qo+ajJsgGRlRm7ZxV9lO6bAAfyg37DxOD/qpn4p/JgkCkQ863/V2aPa BbTv/2NoY8ZFFBzKNxjTu5e7HAVcd42icZW18= 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=OiFf1NwwUvud1mnDtuQmtDxIGqR5e/nfJ7NM5Is87sw=; b=VXNOx0ypuF9bcNgGRhciBYB69xihOa2k09KchH5MChmaNtzAR1I6HK1Uxgx31ihtre 1778eQVzTzy7OuFZKNF6HpgMH4bIkg1rxDZb+zwdbPLPfSUUSg2fBo2AvpHrtk1foDpj a0ExsMWIhsSae7TY7OqjpKT4YNkhPmTKopVBdFjwmDAgIHp0qOz+aQ6b+GZLjBiV1oLE j4zTFQI+22Mkq5HTlfO01+jMUVwGUtPJ2kGGraPg/J3dIkfr+QoijJ2CYbId27/LhjkN 2l0Lsw9u4fr5rugghPlGlpCAhBKR6zPWJvGh+P09raLTQ8xRTZgze9ZDx6kALO5sJ7Qo i+Qw== X-Gm-Message-State: AOAM531gi9l741XfLaSo2NdFshdIDxPaESuFv7IPNI6ST7nR2I/eDd5p qPzncEX7ZpbmBh53x8qqqIuTYa3FLT1daFrfydav+A== X-Received: by 2002:a05:6e02:5d1:: with SMTP id l17mr9847706ils.78.1620410537552; Fri, 07 May 2021 11:02:17 -0700 (PDT) MIME-Version: 1.0 References: <20210422120459.447350175@infradead.org> In-Reply-To: <20210422120459.447350175@infradead.org> From: Joel Fernandes Date: Fri, 7 May 2021 14:02:06 -0400 Message-ID: Subject: Re: [PATCH 00/19] sched: Core Scheduling To: Peter Zijlstra Cc: "Hyser,Chris" , Josh Don , Ingo Molnar , Vincent Guittot , Valentin Schneider , Mel Gorman , LKML , Thomas Glexiner 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 8:36 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. > > 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. Thanks Peter, I uploaded this set to our ChromeOS 5.10 kernel tree with minor changes to make it apply, to: https://chromium-review.googlesource.com/q/topic:cs510 Let me know if anything looks weird, but it does build. I will be testing it further in the coming days. Of course product kernels slightly lag upstream but such is life <:-) - Joel > > 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(-) >