Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1689584pxj; Wed, 19 May 2021 11:31:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyP/T0Vvp85ZFiRJvkbd7N0599x4Ty7jfvnOgSBqYLIQdjcRYZTVpp+HACCjRn+Eaq24laj X-Received: by 2002:a17:906:538a:: with SMTP id g10mr468894ejo.243.1621449102566; Wed, 19 May 2021 11:31:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621449102; cv=none; d=google.com; s=arc-20160816; b=V+w5FuRB9Akv9u+bPmT2kr/xPaYX2cSNu8dkemMLaqgtnqIn15jtHVYaNIjVFPCFVH jeOGtpD5qEf/g4RWWRpZGoiR9L0UmtezDDG1cVtA6NLXB62ng4yLXpkoBQhwUyTU0M6D v+0wOUU33Ulv0BLH7w0bf/7iDLwRI12HAAnoy3kKbaXxug7ZnbPXQOpoKBNWsaT1ATSs kZEiKF4bVnY1421iMNYj7uk+yw1DxDFq0tl6SJOy/AYN62Em0v4PsXJXN+hKvkfQyGkr jXGHABUpOMpmWtX4E9xG+mFoU6aS9E1FdNkk7vAoCwaMpb7C1ZrqK8XgqJDlMcodKr5B 6oBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:message-id:references:in-reply-to :subject:cc:to:from:date:content-transfer-encoding:mime-version :sender:dkim-signature; bh=xImqkEVhZ7NBDDa6rAwINqmmjR5AFYmB3VNpZQ5pQL4=; b=n64pwswlPNvlVCfWYxc+3SeMbejQsG13nzYYQRuOxXPoJrkjusP3LUFd0VJniW+pj3 QRBjsBxhYmVUlccNXfDfa27DBK600SHWnOu2XtecYn/MVq/3OTm0IWHt3asx9z/sfwRO S0VAodTb+wiIZKuSn7sG5cGFYV0CpmTmn8FS/T+MDutCZP8+GDnty/in7/UIlXX6joYx ySzroCgWkKfo7CRauICyH41UVeR7KQ0JM0jV479OV+2qBFJxQeMZWNaXqmo+ufpIwZb+ 9qXleSgskndhy2ru5qr7TCGWl+6awyeRzgi4eQNTduQHTvkDKfa6Xw/CvvO5RP7VtsXT MSMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=sHMIy2+X; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dn3si565742ejc.292.2021.05.19.11.30.55; Wed, 19 May 2021 11:31:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=sHMIy2+X; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351869AbhERTbN (ORCPT + 99 others); Tue, 18 May 2021 15:31:13 -0400 Received: from so254-9.mailgun.net ([198.61.254.9]:44431 "EHLO so254-9.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351856AbhERTbH (ORCPT ); Tue, 18 May 2021 15:31:07 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1621366189; h=Message-ID: References: In-Reply-To: Subject: Cc: To: From: Date: Content-Transfer-Encoding: Content-Type: MIME-Version: Sender; bh=xImqkEVhZ7NBDDa6rAwINqmmjR5AFYmB3VNpZQ5pQL4=; b=sHMIy2+X1kqi1Ezd2c7Pkmimx0uqqLYt7o9z3kIcYwc0Y6lzEHgZND6XqCebe4EP8t/GiWbC YHHBmJKxYJOLMbv+v0JtpUMOHaQehxKCV1YkhrlRjoFmckZcG2DugcoRn98tT1VuAwMLpWQ4 PuupvhXRxHmv1ULL2CAyVgfgilE= X-Mailgun-Sending-Ip: 198.61.254.9 X-Mailgun-Sid: WyI3YTAwOSIsICJsaW51eC13aXJlbGVzc0B2Z2VyLmtlcm5lbC5vcmciLCAiYmU5ZTRhIl0= Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n03.prod.us-east-1.postgun.com with SMTP id 60a415aab15734c8f953d91b (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Tue, 18 May 2021 19:29:46 GMT Sender: jjohnson=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id E2BA0C4338A; Tue, 18 May 2021 19:29:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jjohnson) by smtp.codeaurora.org (Postfix) with ESMTPSA id 675B4C433D3; Tue, 18 May 2021 19:29:44 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 18 May 2021 12:29:44 -0700 From: Jeff Johnson To: Greg Kroah-Hartman Cc: linux-wireless@vger.kernel.org, Kalle Valo , "David S. Miller" , Jakub Kicinski , Kees Cook , Jason Gunthorpe , Chao Yu , Leon Romanovsky , b43-dev@lists.infradead.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] b43: don't save dentries for debugfs In-Reply-To: <20210518163304.3702015-1-gregkh@linuxfoundation.org> References: <20210518163304.3702015-1-gregkh@linuxfoundation.org> Message-ID: <891f28e4c1f3c24ed1b257de83cbb3a0@codeaurora.org> X-Sender: jjohnson@codeaurora.org User-Agent: Roundcube Webmail/1.3.9 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 2021-05-18 09:33, Greg Kroah-Hartman wrote: > There is no need to keep around the dentry pointers for the debugfs > files as they will all be automatically removed when the subdir is > removed. So save the space and logic involved in keeping them around > by > just getting rid of them entirely. > > By doing this change, we remove one of the last in-kernel user that was > storing the result of debugfs_create_bool(), so that api can be cleaned > up. Question not about this specific change, but the general concept of keeping (or not keeping) dentry pointers. In the ath drivers, as well as in an out-of-tree driver for Android, we keep a debugfs dentry pointer to use as a param to relay_open(). Will we still be able to have a dentry pointer for this purpose? Or better, is there a recommended way to get a dentry pointer NOT associated with debugfs at all (which would be ideal for Android where debugfs is disabled). Thanks, Jeff -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project