> 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.
- [PATCH v2 00/47] use refcount+RCU method to implement lockl... Qi Zheng
- [PATCH v2 01/47] mm: vmscan: move shrinker-related cod... Qi Zheng
- [PATCH v2 02/47] mm: shrinker: remove redundant shrink... Qi Zheng
- Re: [PATCH v2 02/47] mm: shrinker: remove redundan... Muchun Song
- [PATCH v2 03/47] mm: shrinker: add infrastructure for ... Qi Zheng
- Re: [PATCH v2 03/47] mm: shrinker: add infrastruct... Peter Zijlstra
- Re: [PATCH v2 03/47] mm: shrinker: add infrastruct... Dave Chinner
- Re: [PATCH v2 03/47] mm: shrinker: add infrastruct... Muchun Song
- [PATCH v2 04/47] kvm: mmu: dynamically allocate the x8... Qi Zheng
- [PATCH v2 05/47] binder: dynamically allocate the andr... Qi Zheng