> On Jul 24, 2023, at 17:43, Qi Zheng <zhengqi.a...@bytedance.com> wrote: > > In preparation for implementing lockless slab shrink, use new APIs to > dynamically allocate the vmw-balloon shrinker, so that it can be freed > asynchronously using kfree_rcu(). Then it doesn't need to wait for RCU > read-side critical section when releasing the struct vmballoon. > > And we can simply exit vmballoon_init() when registering the shrinker > fails. So the shrinker_registered indication is redundant, just remove it. > > Signed-off-by: Qi Zheng <zhengqi.a...@bytedance.com> Nice cleanup. Reviewed-by: Muchun Song <songmuc...@bytedance.com> _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
- [f2fs-dev] [PATCH v2 08/47] erofs: dynamical... Qi Zheng via Linux-f2fs-devel
- Re: [f2fs-dev] [PATCH v2 08/47] erofs: ... Muchun Song
- [f2fs-dev] [PATCH v2 18/47] rcu: dynamically... Qi Zheng via Linux-f2fs-devel
- Re: [f2fs-dev] [PATCH v2 18/47] rcu: dy... Muchun Song
- [f2fs-dev] [PATCH v2 13/47] nfs: dynamically... Qi Zheng via Linux-f2fs-devel
- Re: [f2fs-dev] [PATCH v2 13/47] nfs: dy... Muchun Song
- [f2fs-dev] [PATCH v2 11/47] gfs2: dynamicall... Qi Zheng via Linux-f2fs-devel
- Re: [f2fs-dev] [PATCH v2 11/47] gfs2: d... Muchun Song
- Re: [f2fs-dev] [PATCH v2 11/47] gfs... Qi Zheng via Linux-f2fs-devel
- [f2fs-dev] [PATCH v2 29/47] vmw_balloon: dyn... Qi Zheng via Linux-f2fs-devel
- Re: [f2fs-dev] [PATCH v2 29/47] vmw_bal... Muchun Song
- [f2fs-dev] [PATCH v2 41/47] mm: shrinker: re... Qi Zheng via Linux-f2fs-devel
- Re: [f2fs-dev] [PATCH v2 41/47] mm: shr... Muchun Song
- [f2fs-dev] [PATCH v2 27/47] md/raid5: dynami... Qi Zheng via Linux-f2fs-devel
- Re: [f2fs-dev] [PATCH v2 27/47] md/raid... Muchun Song
- [f2fs-dev] [PATCH v2 19/47] mm: thp: dynamic... Qi Zheng via Linux-f2fs-devel
- Re: [f2fs-dev] [PATCH v2 19/47] mm: thp... Muchun Song
- Re: [f2fs-dev] [PATCH v2 19/47] mm:... Qi Zheng via Linux-f2fs-devel
- [f2fs-dev] [PATCH v2 25/47] dm: dynamically ... Qi Zheng via Linux-f2fs-devel
- Re: [f2fs-dev] [PATCH v2 25/47] dm: dyn... Muchun Song
- [f2fs-dev] [PATCH v2 43/47] mm: shrinker: ad... Qi Zheng via Linux-f2fs-devel