public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Fix kernfs node reference count leak issues
@ 2020-10-30 19:02 Xiaochen Shen
  2020-10-30 19:10 ` [PATCH 1/3] x86/resctrl: Remove superfluous kernfs_get() calls to prevent refcount leak Xiaochen Shen
  0 siblings, 1 reply; 6+ messages in thread
From: Xiaochen Shen @ 2020-10-30 19:02 UTC (permalink / raw)
  To: tglx, mingo, bp, hpa, tony.luck, fenghua.yu, reinette.chatre,
	willemb
  Cc: x86, linux-kernel, pei.p.jia, xiaochen.shen

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(-)

-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-11-21  1:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1604084530-31048-1-git-send-email-xiaochen.shen>
2020-10-30 19:03 ` [PATCH 1/3] x86/resctrl: Remove superfluous kernfs_get() calls to prevent refcount leak Xiaochen Shen
2020-10-30 19:00   ` Xiaochen Shen
2020-11-20 16:13   ` Borislav Petkov
2020-11-21  1:55     ` Xiaochen Shen
2020-10-30 19:02 [PATCH 0/3] Fix kernfs node reference count leak issues Xiaochen Shen
2020-10-30 19:10 ` [PATCH 1/3] x86/resctrl: Remove superfluous kernfs_get() calls to prevent refcount leak Xiaochen Shen
2020-10-30 23:31   ` Willem de Bruijn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox