Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp858919rwb; Thu, 18 Aug 2022 13:39:19 -0700 (PDT) X-Google-Smtp-Source: AA6agR7b0gL8LUOO7gkSAnnNxcTUrHTeQ1qqBeCQUKOJ8RwfbFiNgLZMLAFeQK8PyIofsNWwG8al X-Received: by 2002:a05:6402:51ce:b0:43e:74bc:dce with SMTP id r14-20020a05640251ce00b0043e74bc0dcemr3596344edd.225.1660855159042; Thu, 18 Aug 2022 13:39:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660855159; cv=none; d=google.com; s=arc-20160816; b=P5rEdxv/EfBqV9aEFPSbizSvpJ6E2/O+mk8yjlVjYR+xRxfa2lxZAokktMhLxwVxAk Jk8eClZPhxyAMCv9dZZMdtAV6MvCyiCPsH97tMr19pnX6Fd7hzNlhvGO3j90frbyNnvZ aqOQdX0EWGKcVbTZxhBM4no990ytj+59S6JJXhgsJkJgeWGC5o8Ia6750olCpRnsq35S hk9g4kMyxsR9F8aYg0uIcIRRbMaUG5Ud1MXq+6VjsBD9LbfIdlWJiYR0L0fX0UJqobR9 4YhBhaQs3h5buCVkhEu1qsNz+RN+/Ngk11G1b0oqdwzssUgINCpFskowpI3cPMP60fBo eNuw== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=iZYwlrrYfLQDglwnkyIXQe5gASgdsUP8JcbChxhpLxo=; b=SogSK540BvFqTVcwTSk5oIIFGZEwIIkaNRZFEISiZXvjgMWJLo7jhzaQT6zVQCY7uA WgZpAh0aDS3/tDpJwqGyZViaRjeq0db+FRlDljCE1mTQx25uRh54kNcK/kfzemTYffIy JXr/uWZ2aw1czCYkHGeR5t6Xt4kU2UyZEtoCGasp4FzMC6nThJLxB2OXHuHb1xTkj2pR Od5Tnr3l9vBjW/vFwDjJIyE0O5ddvOxVBes3kdUHEYk6zbXBdnG2oQhrtEcUJhKdGHY2 WKEpXnsbKziaj1ije7TTXPZ9kgEKsdcg4fPHAUkGuY++lafwy/gq4RnfqmrKrmyoOShY zJ9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=kopqNJUV; 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 dz18-20020a0564021d5200b0043c45284ef9si1875448edb.562.2022.08.18.13.38.53; Thu, 18 Aug 2022 13:39:19 -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=casper.20170209 header.b=kopqNJUV; 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 S1346083AbiHRUbg (ORCPT + 99 others); Thu, 18 Aug 2022 16:31:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49324 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346067AbiHRUbf (ORCPT ); Thu, 18 Aug 2022 16:31:35 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A5C60CD52F; Thu, 18 Aug 2022 13:31:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Transfer-Encoding: Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Sender:Reply-To:Content-ID:Content-Description; bh=iZYwlrrYfLQDglwnkyIXQe5gASgdsUP8JcbChxhpLxo=; b=kopqNJUVePtv167FLrWcxwxEpV 1c0aCCnbVQDuQNc0kZRrXmRaVucktlUI4VcZ+ijW73MRl3RMlxiZ66W1nHrt6BOsvAzmOt9rlCBHg pFN/ui8tux9HhYU7WjUqX1nJKNMVBZh114k6xBIo/9mIZQYkyFMT+DXrtnAnWYVp9zNwEPt/b5YVP m2tliXUNU8fugq1Mq90ZCRYIIAXnlaEq3ePmNC1R1alhstSv3skQHGMtuX0Aiv8KzwMHhoOnDfB8t 7n97sAb6OP3KJv1jliFkp6/R5oa5vZXBF+FHfZEPIq/6yOiXmq5AH86jIv8WdokbgMq8nxrZSspCN u5N1RvSQ==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=worktop.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1oOmAj-00AEzQ-L2; Thu, 18 Aug 2022 20:31:21 +0000 Received: by worktop.programming.kicks-ass.net (Postfix, from userid 1000) id B48E198026B; Thu, 18 Aug 2022 22:31:19 +0200 (CEST) Date: Thu, 18 Aug 2022 22:31:19 +0200 From: Peter Zijlstra To: Joseph Salisbury Cc: linux-rt-users@vger.kernel.org, williams@redhat.com, bigeasy@linutronix.de, valentin.schneider@arm.com, linux-kernel@vger.kernel.org Subject: Re: [RFC} Commit 8a99b6833c88 Moves Important Real-time Settings To DebugFS Message-ID: References: <9e6a7216-9cb9-cba4-f150-1a0eaf56353c@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <9e6a7216-9cb9-cba4-f150-1a0eaf56353c@canonical.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,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Thu, Aug 18, 2022 at 03:53:28PM -0400, Joseph Salisbury wrote: > Hello, > > Some Ubuntu users are using the tuned package with a 5.15.x based real-time > kernel.? Tuned adjusts various sysctl options based on a specified profile.? > This userspace package has stopped working > 5.13 due to the following > commit: > > 8a99b6833c88 "(sched: Move SCHED_DEBUG sysctl to debugfs)" > > This commit moved some important real-time sysctl knobs to debugfs in > 5.13-rc1.? It also appears some of the sysctl options were not moved, > sched_min_granularity_ns, for example. > > I was hoping to get some feedback on how to approach this.? Would upstream > real-time consider accepting a patch to the 5.15 real-time patch set that > reverts this commit?? Or a new patch that adds the sysctl settings back?? > Any other ideas or feedback would be appreciated! None of those knobs were available when SCHED_DEBUG=n, so relying on them is your error to begin with. Secondly, real-time? Which if those values affects anything in SCHED_FIFO/RR/DEADLINE ?