Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp1363070lqm; Thu, 2 May 2024 12:20:29 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU9iroo2R/3ZWyIiTms6Ii6mUd4oKbUstS+RrW1KKTghdX62Oebngu9CdvJ3LaAfZ+WSc3AGQlPj63yl2jv+4VE67Bh9EQdPkPtv0+9WQ== X-Google-Smtp-Source: AGHT+IEuMbNdItU/lGnngdHpFILwXxz9TYJ1nJom9EJaPCgHIPaNX9rMC2q8WW7JwAvVQaNc2gYg X-Received: by 2002:a17:906:a145:b0:a58:832d:c3e8 with SMTP id bu5-20020a170906a14500b00a58832dc3e8mr242716ejb.58.1714677629617; Thu, 02 May 2024 12:20:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714677629; cv=pass; d=google.com; s=arc-20160816; b=zs6GUgzb3qvKTVVlYggshx0dkslIYEI9NujN/j9tIsIFlwK8/2wOXaYmCJZwdlCPmN AJlSst2uOR6Ik02QxgXLwIfyjnuPr9Jq06v1JfnAKPfwIifPlT2gRXPRHwMVuerfgAnN 6fA41Ad6TqBqqY2O0+zqn3WKy3REeod+IjOCBRneTIxxNsxOaujp6p7P0vhyTD7TBzGv VxbjXgwzhtJQOOw5VDSLh0W4cJYet+sIbq7mCtOA0KnLypq9evldSV2E7B71FweQ6F3q e9G+NkYsyxNKb1n9HOr1U99lbelEs++fDkTTS8Pbwf/cM9chqgQ4EpluZZ7DPtJNyV4d CwoQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:sender:dkim-signature; bh=3kZobPO3Sq7Kiv2EReP242+eszjDQ0IT8WjWo7osu1w=; fh=XmoROXXkYrC4rikV2aqDC4HFwW+rksed354uhEiBxrk=; b=fGNn1cPnwspIIXONTdqtmNruQfku22u2/Xb/bM8rhLvk+o/rjef6fdFxdHbyUlt+mx nLtdYPQgQIgATuurPhzFt54YYkZFAfJ57XQsrdcjBkw3A+vDN4jlOmoS8bVKj/dnFSQD X4dcnT16Fu2Tgli1naU2Bl4WzHJYuT101ZpQmOK4g8loSHEcG5JAQP2ukTui+izJW5kf jI9p/tSO+VIvPbdAZOILF7k0fxjSErMzgwHr/76D5QSGCXHJZLDmHC4WAaODl77OpOHb uVxc5mY3F7tOW4z8wk+6ZIjrVnQO8jdhrt412Jm3cqe9LK9YiADAM7uLb01UhWKul+E/ 3FJA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=KqNRqgeP; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-166862-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-166862-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id ce20-20020a170906b25400b00a51e9b29a3csi792538ejb.533.2024.05.02.12.20.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 May 2024 12:20:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-166862-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=KqNRqgeP; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-166862-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-166862-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 56AE31F21B0D for ; Thu, 2 May 2024 19:20:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6D92317BB21; Thu, 2 May 2024 19:20:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="KqNRqgeP" Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4C31F15FA74; Thu, 2 May 2024 19:20:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714677619; cv=none; b=V0iL0HR5poX1c+zfZ9ihGVUllHEQ5gzmFPS7jLhrHjL2cuNbDhlDCjxbXP8LLqZkhNVkdMCqkJrNcyB2v4EedcVWqQwA3nubgRa/GOEjX8701+OFWKO/mrWlJjtGZtC+4EPt28RzSh8EAxw5TSZVelaiHdTwqU/ST50UnzsS44Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714677619; c=relaxed/simple; bh=MEWa0OmxG6zCKvHOIRcQ/VXFBiLY5rryNnDHAF/xD5A=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ajeOBze+ElIpnkk7/Pfuagil4OGmjdpuCQAPPfZJHje5pI9FVSoMjcTu06P6C0hZicZsjw7vYkQnZpzWpc4G+nIvyYsnRC2Xa1aLMT5BLEQXazrGKpgF+I0lxntGq2qhMLBwomePv4SCh4I0Wr7pZf5HDsgw/bmBUkHGteOqMmE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=KqNRqgeP; arc=none smtp.client-ip=209.85.214.169 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pl1-f169.google.com with SMTP id d9443c01a7336-1eab16dcfd8so72288855ad.0; Thu, 02 May 2024 12:20:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714677617; x=1715282417; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=3kZobPO3Sq7Kiv2EReP242+eszjDQ0IT8WjWo7osu1w=; b=KqNRqgePkLZKsOFuyBAbiyRjHVyPL/7PRn1bW45fLL9NRcjUrywyMae2O5Z+JI5YQM vwuO0HJNoqi/dMW0RqoaOdchobaL0UGR2ycov9uXSDJJs8PPxseOC6CQGGpyzLWd8Rct zLBoi6wbI5EXr7+RMsO7SoRN0lIILBMf9szFdWpqlBPDnfc4jvAulxFQy3FN6MPfrana fGAzhvvr6j2+OALopGK3iMGqIhMWQbC0eMULoBDG6UhJEV5OBEIW4ITdoDCTyB0Waa4C 2LBBxB4rtieJIqiGIGUVGD1oIBvHbuFo3FobzTo5lrH2MsYom/3mENu5NMl15HMxQU80 Thog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714677617; x=1715282417; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3kZobPO3Sq7Kiv2EReP242+eszjDQ0IT8WjWo7osu1w=; b=pbgxwzc7xBu0XzQnRcXP4luOphyquO86HzUdsThUKs10kxgDXMusOERYWxMYti4Kyb 2KeBb086CDJ3toWvy6ltOPPNEBDwFn6vhVoQZt1pR7CN7zYLOhZrwnDiKiUvZt1yEJzv ulPBaysZJYFJlASty1GEjPGg2C+chQCv5W4HDVnwdshugG5b6DAvgPz0MayYSsQCfP8E G8yxhQnJpJghWoNu8N4DUOPRz7tZ7EIRCdXwB5xBFHBGJ0+Vsp+nDz4pX5yFen74wNRE Cu6OQozzRjX4WT7xDXfVYPqYyGx6XjHM+2QbPtx9cDN/lt/LbrOY/BCBQjdZxXgGzbZc Y7DA== X-Forwarded-Encrypted: i=1; AJvYcCUyamVwwK5F2uPEYhtR0yiqyeogJJZ+YHksFncCCQZ2XxUU8HhwLKfKWN8t1XIYM1aW4TImNr5Yx5C3AmCBYFmrnR9C0vD0gFALE6KaTD48XWi5RvZCNSjp5hpBia0jhRR2 X-Gm-Message-State: AOJu0YxlHA3a9X12SWjvGAelpgP56mfovDl1p6exMz5hw0PpgKfzSED/ zhl9CjTCyhBg/+7KVmX108m+M6rcVPn08W69kXmmKxG1JmKJiKE7 X-Received: by 2002:a17:903:2cf:b0:1e5:a3b2:4ba3 with SMTP id s15-20020a17090302cf00b001e5a3b24ba3mr694463plk.56.1714677617529; Thu, 02 May 2024 12:20:17 -0700 (PDT) Received: from localhost (dhcp-141-239-159-203.hawaiiantel.net. [141.239.159.203]) by smtp.gmail.com with ESMTPSA id kn14-20020a170903078e00b001e27557050dsm1678564plb.178.2024.05.02.12.20.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 May 2024 12:20:17 -0700 (PDT) Sender: Tejun Heo Date: Thu, 2 May 2024 09:20:15 -1000 From: Tejun Heo To: Peter Zijlstra Cc: torvalds@linux-foundation.org, mingo@redhat.com, juri.lelli@redhat.com, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, rostedt@goodmis.org, bsegall@google.com, mgorman@suse.de, bristot@redhat.com, vschneid@redhat.com, ast@kernel.org, daniel@iogearbox.net, andrii@kernel.org, martin.lau@kernel.org, joshdon@google.com, brho@google.com, pjt@google.com, derkling@google.com, haoluo@google.com, dvernet@meta.com, dschatzberg@meta.com, dskarlat@cs.cmu.edu, riel@surriel.com, changwoo@igalia.com, himadrics@inria.fr, memxor@gmail.com, andrea.righi@canonical.com, joel@joelfernandes.org, linux-kernel@vger.kernel.org, bpf@vger.kernel.org, kernel-team@meta.com Subject: Re: [PATCHSET v6] sched: Implement BPF extensible scheduler class Message-ID: References: <20240501151312.635565-1-tj@kernel.org> <20240502084800.GY30852@noisy.programming.kicks-ass.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240502084800.GY30852@noisy.programming.kicks-ass.net> Hello, Peter. On Thu, May 02, 2024 at 10:48:00AM +0200, Peter Zijlstra wrote: > Can you please put your efforts and the touted Google collaboration in > fixing the existing cgroup mess? I suppose you're referring to Rik's flattened hierarchy patchset. https://lore.kernel.org/all/20190822021740.15554-1-riel@surriel.com Rik spent a lot of time and energy on it and IIRC one of the reasons why it didn't get pushed further was the lack of any enthusiasm or support from the upstream community. We can resurrect the discussion on that patchset but how is that connected to sched_ext? One of the example schedulers, scx_flatcg, does employ the same approach with a twist (instead of flattening completely, it builds two-level hierarchy so that a leaf cgroup can be treated as a single entity) to demonstrate the idea but the two projects don't really have much in common otherwise. Are you saying that Meta and Google working on the flattened hierarchy is a prerequisite for landing sched_ext? Thanks. -- tejun