Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp433605pxy; Thu, 22 Apr 2021 05:39:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwkucaszJ9LGtcWJBzJ+qmTqXWp6jOE+9tGCdK0fmhLUw4q86WHtC69kwlq09CkQ6GDJ1EC X-Received: by 2002:aa7:cc94:: with SMTP id p20mr3643004edt.353.1619095174574; Thu, 22 Apr 2021 05:39:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619095174; cv=none; d=google.com; s=arc-20160816; b=UQcl1WVxJwWyapgStqqkuwNa/nyXAMDgPZ/2GWv6bfXGI5mgdakUclx0mpMz1JUKyL f9MFpkrbjEQsCtNS2IttgMdikw6HmWnlaM395VqIpBYbzIYbcfzUIPDMO6mHuQIpVeB3 mEj2x9my8161sJAys4X8GoucqgjJrsiKS01DWcU1xVSutLUCYwf2HcTJG/hmx0kLj2+7 YzzW7CuIcUp0YbiMjT3CpSoVrlTBzXCn0wrC78LyvNcoucqENuaDGifrtzfNVB9IizJz LfigDMSHxHvcPc3XjZPydS0/w+bwvI+OqoKuXvTFWX0aUYfGQJ//DiMI8YD4he7iaMvc 5+XQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:user-agent:message-id :dkim-signature; bh=0VJsxcGuYW9Aw39Y+TXTqVTpJ/n+1T+DYSncBNIJyJc=; b=RkSmTeCeI+D0uUJWaJzjkRf2rJo9zRT+k5iVOL6Uw2yoD0tkm+zxdgL9AcCavcuMl/ KJQtKlikx7mzqmKNyRdvZ49ItvUBGythzLFJAl/bqDocgKzY5hhFgYlJQ+4vE8wC2ahI sxqqX6nTPkAp1A+lvbjaokDliNjqWVYw50FDGZc/KZW49tnYlj2UwaUrQ0kxynIlopeV Cg40phto8M+IZxYvKGM1IhgijGrdtthMemP8YJAIS0EUY6FV2djBw1UaY/nUGdZP7p1r 6GfGiTDWnCKrtauUOW9yyJ5RA1y20unNYPJa+IEeWMSV//CB7Nq9JmnorAs4T7Vu9x8x kQuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=G6AsR6Hi; 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 z20si2151656edd.295.2021.04.22.05.39.11; Thu, 22 Apr 2021 05:39: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=@infradead.org header.s=casper.20170209 header.b=G6AsR6Hi; 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 S236442AbhDVMi3 (ORCPT + 99 others); Thu, 22 Apr 2021 08:38:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40006 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236008AbhDVMh0 (ORCPT ); Thu, 22 Apr 2021 08:37:26 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5CA3EC06138E for ; Thu, 22 Apr 2021 05:36:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Subject:Cc:To:From:Date:Message-ID: Sender:Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:In-Reply-To:References; bh=0VJsxcGuYW9Aw39Y+TXTqVTpJ/n+1T+DYSncBNIJyJc=; b=G6AsR6HihvuEYyL2vFLTebrN1x QfpZKXV0YLtGTlnr8jeuffjyXDDgr1Skq8LPXPnRb+muCwPLBrye8o13r6RMd6nq6DwYXxCvjEmWC fasthLHy5MHEl5ruXOyhXW9Ow6ShMX19ixiSlNRt4L6tBFIyR6tjeP8s8qNBnn1Lr1kbMO/VhBFpA 2HtnSD8I9sSlAh8A+QEEEgNkcAgu7mRN9FKo5XDYtgveHHcDNpOEwlMUc6DOtdVbOJdqGt2TTV/1Z nkPGlasau2MsI2ib3+p0a7lfbI8/S7oPu/jOSojBXmAF3dYr9mWp6W0VXeIFFjgmNeBfE0w/3rSyw d2m+eniw==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94 #2 (Red Hat Linux)) id 1lZYYF-000I91-AS; Thu, 22 Apr 2021 12:35:48 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 6D2C53002B1; Thu, 22 Apr 2021 14:35:20 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 0) id 24EBF2B7DA1F8; Thu, 22 Apr 2021 14:35:20 +0200 (CEST) Message-ID: <20210422120459.447350175@infradead.org> User-Agent: quilt/0.66 Date: Thu, 22 Apr 2021 14:04:59 +0200 From: Peter Zijlstra To: joel@joelfernandes.org, chris.hyser@oracle.com, joshdon@google.com, mingo@kernel.org, vincent.guittot@linaro.org, valentin.schneider@arm.com, mgorman@suse.de Cc: linux-kernel@vger.kernel.org, peterz@infradead.org, tglx@linutronix.de Subject: [PATCH 00/19] sched: Core Scheduling Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. 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(-)