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 X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 05ED3C388F7 for ; Sat, 31 Oct 2020 05:35:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B26232076D for ; Sat, 31 Oct 2020 05:35:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726152AbgJaFff (ORCPT ); Sat, 31 Oct 2020 01:35:35 -0400 Received: from mga02.intel.com ([134.134.136.20]:49550 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725822AbgJaFff (ORCPT ); Sat, 31 Oct 2020 01:35:35 -0400 IronPort-SDR: eVA3ugYyzbc3a5u+4lLEGVEyBNG+eBOcwVrRkztEXWrf+vtGD3P1u+OPoPiVwpDI8MXzyovele S81hWS4vFbig== X-IronPort-AV: E=McAfee;i="6000,8403,9790"; a="155682602" X-IronPort-AV: E=Sophos;i="5.77,436,1596524400"; d="scan'208";a="155682602" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Oct 2020 22:35:35 -0700 IronPort-SDR: U5bRWSPpt7PazgIvMbxn8rpwvlIK2ii/K5o5TQti6RRGiXVEfcsJZvA0r7Qnv//7RhpdH0qanK Y0tJc3gaIC6g== X-IronPort-AV: E=Sophos;i="5.77,436,1596524400"; d="scan'208";a="362054785" Received: from xshen14-mobl.ccr.corp.intel.com (HELO [10.254.214.42]) ([10.254.214.42]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Oct 2020 22:35:32 -0700 Subject: Re: [PATCH 0/3] Fix kernfs node reference count leak issues To: Reinette Chatre , "tglx@linutronix.de" , "mingo@redhat.com" , "bp@alien8.de" , "hpa@zytor.com" , "Luck, Tony" , "Yu, Fenghua" , "willemb@google.com" Cc: "x86@kernel.org" , "linux-kernel@vger.kernel.org" , "Jia, Pei P" , Xiaochen Shen References: <1604084530-31048-1-git-send-email-xiaochen.shen@intel.com> <79ccbc0b-32b4-2d02-2790-62350c917d67@intel.com> From: Xiaochen Shen Message-ID: Date: Sat, 31 Oct 2020 13:35:28 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <79ccbc0b-32b4-2d02-2790-62350c917d67@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Reinette, Thank you for correcting this! The subject of this "cover letter" should be: x86/resctrl: Fix kernfs node reference count leak issues On 10/31/2020 5:18, Reinette Chatre wrote: > Apologies, the Subject intended to have a "x86/resctrl:" prefix. > > On 10/30/2020 12:02 PM, Xiaochen Shen wrote: >> Fix several kernfs node reference count leak issues: >> (1) Remove superfluous kernfs_get() calls to prevent refcount leak >> (2) Add necessary kernfs_put() calls to prevent refcount leak >> (3) Follow-up cleanup for the change in previous patch. >> >> Xiaochen Shen (3): >> x86/resctrl: Remove superfluous kernfs_get() calls to prevent refcount >> leak >> x86/resctrl: Add necessary kernfs_put() calls to prevent refcount leak >> x86/resctrl: Clean up unused function parameter in rmdir path >> >> arch/x86/kernel/cpu/resctrl/rdtgroup.c | 82 ++++++++++++++-------------------- >> 1 file changed, 33 insertions(+), 49 deletions(-) >> -- Best regards, Xiaochen