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 1378CC64EC4 for ; Thu, 9 Mar 2023 17:50:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230494AbjCIRuI (ORCPT ); Thu, 9 Mar 2023 12:50:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55908 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231196AbjCIRuB (ORCPT ); Thu, 9 Mar 2023 12:50:01 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA20A4A1D2 for ; Thu, 9 Mar 2023 09:49:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1678384151; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=+ag3m8BE68Ubj+bzVerBr255lxR7FSwvjAEEQS4DeCM=; b=h7QPshqXyKioXIB5c/MOf2dUecNtlAE/KCtvTL4QdLBOUp3o06Dd9Q8jHdGtBRFkosJD0J I3ZNHqgqtbI3gJU/mOVAeSaIvm3458gaA/pJRAb8zJjgkc+WmQaf3Qq0cJAFtjCD8s6vAc iWhJK+N/G/aS7V6bYXBSslNVPXrfM8w= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-480-makk0FqNPziV2-Cx4qxptQ-1; Thu, 09 Mar 2023 12:48:58 -0500 X-MC-Unique: makk0FqNPziV2-Cx4qxptQ-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 5EEE6857A88; Thu, 9 Mar 2023 17:48:58 +0000 (UTC) Received: from lorien.usersys.redhat.com (unknown [10.22.17.176]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 13F4C401B290; Thu, 9 Mar 2023 17:48:58 +0000 (UTC) Date: Thu, 9 Mar 2023 12:48:56 -0500 From: Phil Auld To: Greg KH Cc: linux-kernel@vger.kernel.org, mingo@redhat.com, peterz@infradead.org, ritesh.list@gmail.com, srikar@linux.vnet.ibm.com, sshegde@linux.ibm.com, vincent.guittot@linaro.org, vishalc@linux.vnet.ibm.com, vschneid@redhat.com Subject: Re: [RESEND PATCH v2] sched/debug: Put sched/domains files under the verbose flag Message-ID: <20230309174856.GA191475@lorien.usersys.redhat.com> References: <20230119150758.880189-1-pauld@redhat.com> <20230303183754.3076321-1-pauld@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Scanned-By: MIMEDefang 3.1 on 10.11.54.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 09, 2023 at 03:44:45PM +0100 Greg KH wrote: > On Fri, Mar 03, 2023 at 01:37:54PM -0500, Phil Auld wrote: > > The debug files under sched/domains can take a long time to regenerate, > > especially when updates are done one at a time. Move these files under > > the sched verbose debug flag. Allow changes to verbose to trigger > > generation of the files. This lets a user batch the updates but still > > have the information available. The detailed topology printk messages > > are also under verbose. > > > > Discussion that lead to this approach can be found in the link below. > > > > Simplified code to maintain use of debugfs bool routines suggested by > > Michael Ellerman . > > > > Signed-off-by: Phil Auld > > Acked-by: Greg Kroah-Hartman > > Reviewed-by: Valentin Schneider > > Reviewed-by: Srikar Dronamraju > > Tested-by: Vishal Chourasia > > Cc: Michael Ellerman > > Cc: Greg Kroah-Hartman > > Cc: Ingo Molnar > > Cc: Peter Zijlstra (Intel) > > Cc: Srikar Dronamraju > > Cc: Valentin Schneider > > Cc: Vishal Chourasia > > Cc: Vincent Guittot > > Link: https://lore.kernel.org/all/Y01UWQL2y2r69sBX@li-05afa54c-330e-11b2-a85c-e3f3aa0db1e9.ibm.com/ > > --- > > > > v2: fix comment typo and use cpumask_empty() > > > > kernel/sched/debug.c | 52 +++++++++++++++++++++++++++++++++++++++++--- > > 1 file changed, 49 insertions(+), 3 deletions(-) > > As no one has picked this up yet, and it is really a debugfs issue, I'll > queue this up in the driver-core tree (which takes debugfs changes) for > 6.4-rc1 unless someone screams. > Thanks Greg! > thanks, > > greg k-h > --