Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp6771494rwb; Mon, 12 Dec 2022 06:17:29 -0800 (PST) X-Google-Smtp-Source: AA0mqf7TK/DjY/MlbctKyAMU3Wlf2n90TKSVT7/uG/J8+1Q6c7UgfczwLC9aCo2RAa5QTLTh7JCg X-Received: by 2002:a05:6a20:4387:b0:ac:f68:249a with SMTP id i7-20020a056a20438700b000ac0f68249amr20704787pzl.6.1670854649776; Mon, 12 Dec 2022 06:17:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670854649; cv=none; d=google.com; s=arc-20160816; b=YGJbJ4i0RMtd0dsSqE8NtO6vDIiYHdVeOco5liDnNjrkQxclGBvoiq8F1Y1U8QvrM/ 97LI8Fh9HsVmfdQkC+Oh00opItT/NwcvrUyWFv8a7sH9HtLi1l2XaqlFA7EodhNfUAMO YXB4juIu4+UJ/H0CxgiiESHLbbJVWW6z9AxtQsopEfXGwPTx3Qpei0lC4r7UXRQhe4wh N8wdSW8O78wpaZCLKZPKZMj8POvObmJ5y+VahjXbMiDGSK707XdqqAS8gGZ6ESrtHtGA AVBERujPDNqhglK03dBbJdjjYstd5om6cJogw+e4ELLb0YpWOnyyDvRJv31w49+pLwZ4 UrUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=zo/qFnAsqAdA6EwHKj640zNf/rPC7C+O0LLjxizZbPo=; b=C03V9FZGZVn6RdHb1nff/QyrD1e4kWQTVMzHcLJb3Be+dDgHyjgsub9v8xkgO/jW1c fnSSI1HTudaDgHyGlMzfs50NjHtouKs+X/0cwFn/2UnQ41nvrp2dDd+zEqNtFpIwweeT fiXGdP3M83RmF5xuYBqL+a0YwFnDCl94JqafthwVvZzKTCWc7k7hWjFkVlwAH4uzNmYd FhXe/z5XVP/ts9JT8nVENqFap8GHXXPjBsPf4+prtSZvhNvDLAZTCJGhOoPNW+gYlPEn sWNY2JOflvLaAj0VY5jI7poe+56npOhrd6yHQ6OQek4GjVDlNxvKH9/zDkX3u9rWMzea 7Y9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=DShHQBeT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i30-20020a63585e000000b004770fe91070si9382334pgm.587.2022.12.12.06.17.19; Mon, 12 Dec 2022 06:17:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=DShHQBeT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232211AbiLLOEB (ORCPT + 75 others); Mon, 12 Dec 2022 09:04:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35736 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231779AbiLLOD7 (ORCPT ); Mon, 12 Dec 2022 09:03:59 -0500 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D963210A5; Mon, 12 Dec 2022 06:03:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=zo/qFnAsqAdA6EwHKj640zNf/rPC7C+O0LLjxizZbPo=; b=DShHQBeT/EtTb+uCAKmtYRUIZb zisvhtLlckkieQb8GDwzzSOEo0a1WLzx32KL7N2wVM/qhdpWOG9BU2Sqlaixg77WO+E9jaDJ9+sbj mBFzoxtXlpO2mFyZSDyjzIEjNM3rOfg7rgTP5pmkWa62F6MYlktm96GeKtADv/loadzHsRnjOwNdV 5uu5nqQxJ52LatHiXUKqIzTTOprO4sx327wlZ+gCzsEtr2K3MVUK4g5rHmglXn0ajdDklUDR5fsTC gZgl2VDa0v+pBAvOuxEb5JDt45LwENVOtU7JdGTYtFuQ/cDCv+K3yBdwioDb3yP7G9El7WO/Y0EPB 7eMifSgw==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1p4jOv-009n2o-7X; Mon, 12 Dec 2022 14:03:25 +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 (4096 bits) server-digest SHA256) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id EDBAA300299; Mon, 12 Dec 2022 15:03:20 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id D4C2C2024870B; Mon, 12 Dec 2022 15:03:20 +0100 (CET) Date: Mon, 12 Dec 2022 15:03:20 +0100 From: Peter Zijlstra To: Tejun Heo 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, linux-kernel@vger.kernel.org, bpf@vger.kernel.org, kernel-team@meta.com Subject: Re: [PATCH 31/31] sched_ext: Add a rust userspace hybrid example scheduler Message-ID: References: <20221130082313.3241517-1-tj@kernel.org> <20221130082313.3241517-32-tj@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221130082313.3241517-32-tj@kernel.org> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 29, 2022 at 10:23:13PM -1000, Tejun Heo wrote: > From: Dan Schatzberg > > Atropos is a multi-domain BPF / userspace hybrid scheduler where the BPF > part does simple round robin in each domain and the userspace part > calculates the load factor of each domain and tells the BPF part how to load > balance the domains. > > This scheduler demonstrates dividing scheduling logic between BPF and > userspace and using rust to build the userspace part. And here I am, speaking neither Rust nor BPF. But really, having seen some of this I long for the UMCG patches -- that at least was somewhat sane and trivially composes, unlike all this madness.