From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EAE85C433FE for ; Sat, 15 Oct 2022 15:47:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229504AbiJOPri (ORCPT ); Sat, 15 Oct 2022 11:47:38 -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> 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