Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp2175592rwi; Sat, 15 Oct 2022 09:06:17 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5bftUV7REPrMB7sjPlp3UVOjhrqYLt23tSNFb3seJJcUmucrtHRItn8xjOqMBOZODrtK02 X-Received: by 2002:a17:906:5dda:b0:78d:ed96:2127 with SMTP id p26-20020a1709065dda00b0078ded962127mr2359783ejv.373.1665849977281; Sat, 15 Oct 2022 09:06:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665849977; cv=none; d=google.com; s=arc-20160816; b=V+5vELL1gJnFwLPI85TM7HM65R6ilVYusjgPfSQOrTUT3JNNIs2rl9KlusUMqoWY8B ApNxpZOblVTin3HLSEUNWT9NvO7zuiKI0eLGkwuuGKZasS4G719PEn0yAFWWRTmMAQcH MGq1rGGjxXjuDGfmDmakTv+cPPm4xVagXT5JitljOphjk9HSlnHLayilzMSsQMNb2D/E HovxAh6w9rLhk73lJ/8pClLNrBWrT/2np7j2iuoTgn+o4124wEOIQUgMLkvEOKWqoM3m pdJJ9XfVjUPGCC/yZ8g7ttuzdjmG57rc7Ddw0SEtPCK5H32rd/mXyPb0NbDPF4FFuIR9 HFvw== 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=hyrj6Kbo8xaGb6CEwaXSzDHQWpo/ZYbBLKOnw+l7S7Q=; b=Qc5IGq16stHGRsxyWE5cFlzdGbqf7hq2twW14Qr+EegsPN1GrovhgRf4MfkV+i3yxn VePJICRQynX/8V4KulSeoPmlVRAbJbYz8gsiXSuL3wcmmSSH1DG+XDNcII/Sx/DhgLNc 7PcaZCJuWMsKXLSWAR3VIhD0POS2Z11omsd/WCCw+jJqLI/XXwEChxEzzB2nuRWtBrE1 SG1nQKoMtSGOqGxFxThrwx5pxXcNx52GhSGGJi02FKhTaaDpWV6eBG5y5TgpXSYr2Nf2 bJXpW6qsOr7tr4n+kkRfg+8asmHUcsDy4ILHRffQ4PwmG2U/LErDUCT6xKTrkCIEAfQj EcpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b="LIA+s/5c"; 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 o10-20020a50fd8a000000b00458896ae248si3983109edt.474.2022.10.15.09.05.47; Sat, 15 Oct 2022 09:06:17 -0700 (PDT) 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="LIA+s/5c"; 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 S229755AbiJOPrh (ORCPT + 99 others); Sat, 15 Oct 2022 11:47:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42074 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229613AbiJOPrg (ORCPT ); Sat, 15 Oct 2022 11:47:36 -0400 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 363644E62E for ; Sat, 15 Oct 2022 08:47:35 -0700 (PDT) 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=hyrj6Kbo8xaGb6CEwaXSzDHQWpo/ZYbBLKOnw+l7S7Q=; b=LIA+s/5cZydKNFKN2L3E5hO5PZ +kMaqXzitTomqcF4lcjlJ4GOmeMp6dJsVn+fbpAjBccQZQ1JkGUyzb0V+y9YuxTjpzTGGlbt2EOT4 fd6ow6hWQ6hh1VNmsI9xQmnmnd9f75yvsZd0+A3Q9lUI6Hr5tbB9+5n4lSRj/yGsvyuYmOyyzkgxs gxWborZEpQR+J5VZhri/8XO/pyQoSkeg+dQKdCvBUSAgu4l2fU8l4bFStimmm384XVKMqe7EX58I5 ZpJi22Eidk3UhZH/rjZ5tyJPLad3Q7NILDZ7eCh7qC3Z28Dvq97LMtutu2wU7ayIptIuaaF1iTbXK HZiz7LIQ==; 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 1ojjNi-003iZq-R4; Sat, 15 Oct 2022 15:47:23 +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)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 62436300165; Sat, 15 Oct 2022 17:47:22 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 4B732201FD2EC; Sat, 15 Oct 2022 17:47:22 +0200 (CEST) Date: Sat, 15 Oct 2022 17:47:22 +0200 From: Peter Zijlstra To: Connor O'Brien Cc: linux-kernel@vger.kernel.org, kernel-team@android.com, John Stultz , Joel Fernandes , Qais Yousef , Ingo Molnar , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Daniel Bristot de Oliveira , Valentin Schneider , Will Deacon , Waiman Long , Boqun Feng , "Paul E . McKenney" Subject: Re: [RFC PATCH 07/11] sched: Add proxy execution Message-ID: References: <20221003214501.2050087-1-connoro@google.com> <20221003214501.2050087-8-connoro@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221003214501.2050087-8-connoro@google.com> 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 Mon, Oct 03, 2022 at 09:44:57PM +0000, Connor O'Brien wrote: > diff --git a/init/Kconfig b/init/Kconfig > index 532362fcfe31..a341b9755a57 100644 > --- a/init/Kconfig > +++ b/init/Kconfig > @@ -922,6 +922,13 @@ config NUMA_BALANCING_DEFAULT_ENABLED > If set, automatic NUMA balancing will be enabled if running on a NUMA > machine. > > +config PROXY_EXEC > + bool "Proxy Execution" > + default n > + help > + This option enables proxy execution, a mechanism for mutex owning > + tasks to inherit the scheduling context of higher priority waiters. > + I tihnk the way you have it here you should add something like: depends on !SCHED_CORE