Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp7071553rwb; Mon, 12 Dec 2022 09:40:24 -0800 (PST) X-Google-Smtp-Source: AA0mqf5WwweaR7X/lYDZNXpusUanE7Oyyj4N45Bjv/2Ss/WxJHnXeuIoTVWVVgP1z6MDY0tljvRt X-Received: by 2002:a17:906:8246:b0:7c1:100d:331a with SMTP id f6-20020a170906824600b007c1100d331amr14700486ejx.70.1670866824424; Mon, 12 Dec 2022 09:40:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670866824; cv=none; d=google.com; s=arc-20160816; b=XY+uVUF6grsjvimp3IxTpIxq1841K1FfpYzjTM1cZklVOBW32foNLbWLtr4gZ5Km/h DDeo9Or7e9bJCPxCM8JXQoxK+Q/13eL/hKz4liY1HBWO2iGppClgnWypEJWQxkRSzMEE NS5UauJo3BdEtfP0c9Nu8EY3xGa8kHluhPsnUXjAOQwEIwf37cGEAlFvGmmzD3U/FnLM AYUkeAkLebmCfxksyiad/gYIiChqK86cvP4q2FJLdMLfis4v4hUSgTCtS6f9MzX+iarz a0ReYUNXwuJNZE3kbYqztRqzaPj1QZeL7tllHNeVut+1qSfNHU0ul/0tVZHzhwcBaKQc EaKg== 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:sender:dkim-signature; bh=P8DG9o8qjQwU5nXIU0aeuoAhuzpievgxU8RuUe0b+YE=; b=j9OcF5klzeX08jijs5ue+/UTRORjDjyZDqOmtOGiZaFzW1G6TwFeoB2d97+lE3XxOU vSKShPiF8CPE97Xyw8fJhUvkvRX7k7UU+UegoJ3xZsUxm1xZ3e1VEAT1zz3T2X4NItte /SzYmZe2bGTM0kYXi6phSIB+30ZhZnVCYD+iV3sdM0pn6+xKbAee2L2I2cEFY3l5fiwF JCOyxdOcLm+hZXK5YHygR1sCaS1iE8z8qDseAO/8Nl0aoUuwdpKElevHfhUv7tkiUThQ wjs0gkEUQlAoYDkyepki5JQmPDGw+h4M/55rhmoa45aRfzLqVb0nhoI73mnmOMZR0aQq cTVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=j4Iysgj1; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nd21-20020a170907629500b00778d193ca81si6547573ejc.550.2022.12.12.09.40.06; Mon, 12 Dec 2022 09:40:24 -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=@gmail.com header.s=20210112 header.b=j4Iysgj1; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232784AbiLLR1s (ORCPT + 74 others); Mon, 12 Dec 2022 12:27:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38458 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229536AbiLLR1p (ORCPT ); Mon, 12 Dec 2022 12:27:45 -0500 Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70F7062D6; Mon, 12 Dec 2022 09:27:44 -0800 (PST) Received: by mail-pj1-x1029.google.com with SMTP id v13-20020a17090a6b0d00b00219c3be9830so567569pjj.4; Mon, 12 Dec 2022 09:27:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=P8DG9o8qjQwU5nXIU0aeuoAhuzpievgxU8RuUe0b+YE=; b=j4Iysgj1xNpAx9uC7AfU564E/3aGcb87SdeVMapP7dPMeIsX+N5AV4ZMmIOF3NMUS4 Wg6qi1h6rU25QQ+gq/al/++JPl1/3QrO6DeGAdquaIi0fG/fD8IwhLtkdmswvnmeV9t3 s6RsLDWwUP6znKHPIrvsT0E5hH2yXyrDXyCJILJ+wta1nQ7rCP06nMkKe37D+E6A1yHF qG5oeCEEg2Dl9UIlcjyy7l15zN3I9OQaLrCiYxkS4hXiZW2bsBK/f3ZZKE7hpwCdT8z/ omLL5u0LDvVfREFo60j/8mJmDpICRvpKe41ZOdOxH8FF1+IRzO8ZRhngqdFD8Z80lcSB HlXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=P8DG9o8qjQwU5nXIU0aeuoAhuzpievgxU8RuUe0b+YE=; b=iKcZnB+TSRXKpsSTBKxDnn9+SuX7IpKGcgcSqOX2aOIoMWtm4BGnM/7eFeGya8YBrU Yjr06NIw2Jz77OTtgwQdRrxUzRBoV6ufkRAB5CdDgqBR/UrfZn8wlYnEIi7QJha4wqrH k9c7jeK3B8b7nxbTsI69w8xFOjug3pSGsZngRt/Hb3SuVtLe5Xz+e+hWnH/s+Jv6ywxz k7ewI1av3KnoB6knMT/AIslqoZsNcCzdm50wmnCrI6q06Esh1OAmjbEgmWcdWYBLsVm9 WR9WybmPLgi2j4y2xTUn14p7o0gc21znKROSquuT8jEk6Z+H+fKXBnsfEvAS0e+TxSoH V+TA== X-Gm-Message-State: ANoB5pmHqSyFnhh/XjqvWsRJvMOdYswa/tom/pEv+yXQ8pP2HN07ijly ZboRZqWH7V2aGuWyMx/tebQ= X-Received: by 2002:a17:90a:d594:b0:219:ed0b:f11a with SMTP id v20-20020a17090ad59400b00219ed0bf11amr17372588pju.8.1670866063517; Mon, 12 Dec 2022 09:27:43 -0800 (PST) Received: from localhost ([2620:10d:c090:400::5:9159]) by smtp.gmail.com with ESMTPSA id sj1-20020a17090b2d8100b00218daa55e5fsm5791793pjb.12.2022.12.12.09.27.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Dec 2022 09:27:43 -0800 (PST) Sender: Tejun Heo Date: Mon, 12 Dec 2022 07:27:41 -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, linux-kernel@vger.kernel.org, bpf@vger.kernel.org, kernel-team@meta.com Subject: Re: [PATCHSET RFC] sched: Implement BPF extensible scheduler class Message-ID: References: <20221130082313.3241517-1-tj@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE, SPF_PASS autolearn=no 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 Hello, On Mon, Dec 12, 2022 at 10:37:50AM +0100, Peter Zijlstra wrote: > Anyway, I hate all of this. Linus NAK'ed loadable schedulers a number of > times in the past and this is just that again -- with the extra downside > of the whole BPF thing on top :/ Yeah, the whole BPF thing is what made this interesting for me and while there still are frustrating shortcomings, BPF does make iteration and deployment drastically safer and faster and we can try out ideas which didn't seem feasible before with relative ease. Given the history, I suppose some of the decision is upto Linus. > You look to be exposing a ton of stuff I've so far even refused > tracepoints for :-( I tried to keep the exposure limited and am sure it can be much improved. If you have specific ideas, I'm all ears. > Anyway, I'm just back from a heavy dose of Covid and still taking it > easy, but I'll go read through the whole thing, hopefully I'll finish > before vanishing again for the x-mas break. Mine wasn't too bad but it still sucked mightily. I wish a quick and full recovery and thanks for taking a look. -- tejun