Re: [PATCH v6 26/45] bcache: dynamically allocate the md-bcache shrinker

From: Muchun Song
Date: Mon Sep 18 2023 - 03:25:48 EST




> On Sep 11, 2023, at 17:44, Qi Zheng <zhengqi.arch@xxxxxxxxxxxxx> wrote:
>
> In preparation for implementing lockless slab shrink, use new APIs to
> dynamically allocate the md-bcache shrinker, so that it can be freed
> asynchronously via RCU. Then it doesn't need to wait for RCU read-side
> critical section when releasing the struct cache_set.
>
> Signed-off-by: Qi Zheng <zhengqi.arch@xxxxxxxxxxxxx>

Acked-by: Muchun Song <songmuchun@xxxxxxxxxxxxx>

Thanks.