Re: [PATCH v5 25/45] md/raid5: dynamically allocate the md-raid5 shrinker
From: Song Liu <song@kernel.org>
Date: 2023-08-24 03:58:34
Also in:
linux-fsdevel, linux-mm, lkml
From: Song Liu <song@kernel.org>
Date: 2023-08-24 03:58:34
Also in:
linux-fsdevel, linux-mm, lkml
On Wed, Aug 23, 2023 at 8:47 PM Qi Zheng [off-list ref] 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 <redacted> Reviewed-by: Muchun Song <redacted> CC: Song Liu <song@kernel.org> CC: linux-raid@vger.kernel.org
LGTM! Reviewed-by: Song Liu <song@kernel.org>