> On Jul 24, 2023, at 17:43, Qi Zheng <zhengqi.a...@bytedance.com> wrote: > > The debugfs_remove_recursive() will wait for debugfs_file_put() to return, > so the shrinker will not be freed when doing debugfs operations (such as > shrinker_debugfs_count_show() and shrinker_debugfs_scan_write()), so there > is no need to hold shrinker_rwsem during debugfs operations. > > Signed-off-by: Qi Zheng <zhengqi.a...@bytedance.com> Reviewed-by: Muchun Song <songmuc...@bytedance.com> Thanks. _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
- [f2fs-dev] [PATCH v2 00/47] use refcount+RCU... Qi Zheng via Linux-f2fs-devel
- [f2fs-dev] [PATCH v2 02/47] mm: shrinke... Qi Zheng via Linux-f2fs-devel
- Re: [f2fs-dev] [PATCH v2 02/47] mm:... Muchun Song
- [f2fs-dev] [PATCH v2 01/47] mm: vmscan:... Qi Zheng via Linux-f2fs-devel
- Re: [f2fs-dev] [PATCH v2 01/47] mm:... Muchun Song
- Re: [f2fs-dev] [PATCH v2 01/47]... Qi Zheng via Linux-f2fs-devel
- Re: [f2fs-dev] [PATCH v2 01... Muchun Song
- Re: [f2fs-dev] [PATCH ... Qi Zheng via Linux-f2fs-devel
- [f2fs-dev] [PATCH v2 12/47] NFSv4.2: dy... Qi Zheng via Linux-f2fs-devel
- Re: [f2fs-dev] [PATCH v2 12/47] NFS... Muchun Song
- [f2fs-dev] [PATCH v2 31/47] mbcache: dy... Qi Zheng via Linux-f2fs-devel
- Re: [f2fs-dev] [PATCH v2 31/47] mbc... Muchun Song
- [f2fs-dev] [PATCH v2 33/47] jbd2, ext4:... Qi Zheng via Linux-f2fs-devel