2023-08-24 08:16:17

by Song Liu

[permalink] [raw]
Subject: Re: [PATCH v5 25/45] md/raid5: dynamically allocate the md-raid5 shrinker

On Wed, Aug 23, 2023 at 8:47 PM Qi Zheng <[email protected]> wrote:
>
> In preparation for implementing lockless slab shrink, use new APIs to
> dynamically allocate the md-raid5 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 r5conf.
>
> Signed-off-by: Qi Zheng <[email protected]>
> Reviewed-by: Muchun Song <[email protected]>
> CC: Song Liu <[email protected]>
> CC: [email protected]

LGTM!

Reviewed-by: Song Liu <[email protected]>