> On Jul 24, 2023, at 17:43, Qi Zheng <[email protected]> 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 <[email protected]> Reviewed-by: Muchun Song <[email protected]> Thanks.
- [PATCH v2 08/47] erofs: dynamically allocate the erofs-shri... Qi Zheng
- [PATCH v2 04/47] kvm: mmu: dynamically allocate the x86-mmu... Qi Zheng
- [PATCH v2 03/47] mm: shrinker: add infrastructure for dynam... Qi Zheng
- [PATCH v2 02/47] mm: shrinker: remove redundant shrinker_rw... Qi Zheng
- Re: [PATCH v2 02/47] mm: shrinker: remove redundant sh... Muchun Song
- [PATCH v2 12/47] NFSv4.2: dynamically allocate the nfs-xatt... Qi Zheng
- [PATCH v2 13/47] nfs: dynamically allocate the nfs-acl shri... Qi Zheng
- [PATCH v2 10/47] gfs2: dynamically allocate the gfs2-glock ... Qi Zheng
- [PATCH v2 14/47] nfsd: dynamically allocate the nfsd-fileca... Qi Zheng
- [PATCH v2 11/47] gfs2: dynamically allocate the gfs2-qd shr... Qi Zheng
