Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp3429959rwb; Tue, 8 Nov 2022 04:36:31 -0800 (PST) X-Google-Smtp-Source: AMsMyM5mf4ceUyo/1bekUJTa2NvrmZrIy+kUHzhT02Ya1/6IrNWQBJN7rCzJdo7F+aFGHNci1K8k X-Received: by 2002:a05:6402:249b:b0:460:cb11:27d4 with SMTP id q27-20020a056402249b00b00460cb1127d4mr55472538eda.410.1667910991500; Tue, 08 Nov 2022 04:36:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667910991; cv=none; d=google.com; s=arc-20160816; b=mnLQPC1QmBRIWcURBTIAAqaXZQabtVTfdlEM4xdj6qtAGACHELtBHPg1hQnkD6kZAW mv5vc4zsx8E4b23EEMXTPAeoKyeVMDMisbhU2PWVCna+7lqi76cNe24m3DReu3XuZ6rs 2AMWcUwCxxQxI+AFpa4//5si0Ob4XggD5vGqX7C0fMWD1vg3qdpkTc8fq3ePbY5CYTar JT8coDopizX7KzJPuq/Cd2UemASjxOiCfk6mBoSw4AvXT7vxBAG9oQoPB7dmRbQ8ab1e bQCOBoiW95p2UTyWfEERuu4lYRz3pRgndrQwwZNSOPUWfwJaToPAgRCFqbYd57ZxlwZZ Q2lg== 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=zM3sSkwG8ae96LOvXtUSEeU4vt0QikbJJMbs4HGPekA=; b=08wXp+gCebRy1oGJV+f1N2WseEqibE9P2LYVQduI2+4xPGsDVfzU/T0LnGkTzkM1ga i9OzK+KM/eL3cSlPX/+6qSZdZG4xRwgPb3VVAc+tDA9d9WJ9GWQ0PihkYIsoBCDCjCmE E1qP8KzeDF81viwq3n92XuYbWWw2Isqy9JVf5fTSKe4f6T0BvXn22aq7YlJ2kXburLMg pbnIb1cdZQeCfKMlqCpp0pAfITwa4NRjUMLNOrFsHXQW0KB7kqxlFE5a+qQxoHlZ725i p2SwMqj4WnhExazdpdph5dwx6i0ev4VOmgZLxH+J2tdChEDV0XyqdaYK2fpzJpn5No4H NxyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=XLzezLU9; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sa34-20020a1709076d2200b0078d25d59f62si12714711ejc.21.2022.11.08.04.36.10; Tue, 08 Nov 2022 04:36:31 -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=@linuxfoundation.org header.s=korg header.b=XLzezLU9; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234230AbiKHMYy (ORCPT + 89 others); Tue, 8 Nov 2022 07:24:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44690 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234231AbiKHMYq (ORCPT ); Tue, 8 Nov 2022 07:24:46 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 13A874FFA7 for ; Tue, 8 Nov 2022 04:24:43 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id A375561503 for ; Tue, 8 Nov 2022 12:24:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7D24AC433D6; Tue, 8 Nov 2022 12:24:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1667910282; bh=DIgP7uPQKj0lwA2YB9gPgcW4fnH+W7WgHIsSh/Cgwt8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=XLzezLU97ctWJIIz/k8E9MMSMNTMfFqBpXh6PJaunmdTM/169PtNdVX+ufSSaZzIL L/ueI4AhoprqGnU4JiKPeAYGKavd91uo+Lu6esW20CEeaV0JaOpUzE1c7TEd0Trj2j bBnMk0J4aBRAV5/EY+HzNhE/hq9oFMKkXk3zMQf8= Date: Tue, 8 Nov 2022 13:24:39 +0100 From: Greg Kroah-Hartman To: Vishal Chourasia Cc: Peter Zijlstra , linux-kernel@vger.kernel.org, mingo@redhat.com, vincent.guittot@linaro.org, vschneid@redhat.com, srikar@linux.vnet.ibm.com, sshegde@linux.ibm.com, linuxppc-dev@lists.ozlabs.org, ritesh.list@gmail.com, aneesh.kumar@linux.ibm.com Subject: Re: sched/debug: CPU hotplug operation suffers in a large cpu systems Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 08, 2022 at 03:30:46PM +0530, Vishal Chourasia wrote: > > Thanks Greg & Peter for your direction. > > While we pursue the idea of having debugfs based on kernfs, we thought about > having a boot time parameter which would disable creating and updating of the > sched_domain debugfs files and this would also be useful even when the kernfs > solution kicks in, as users who may not care about these debugfs files would > benefit from a faster CPU hotplug operation. Ick, no, you would be adding a new user/kernel api that you will be required to support for the next 20+ years. Just to get over a short-term issue before you solve the problem properly. If you really do not want these debugfs files, just disable debugfs from your system. That should be a better short-term solution, right? Or better yet, disable SCHED_DEBUG, why can't you do that? thanks, greg k-h