Re: [PATCH v6 33/45] nfsd: dynamically allocate the nfsd-reply shrinker

From: Muchun Song
Date: Mon Sep 18 2023 - 03:23:06 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 nfsd-reply 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 nfsd_net.
>
> Signed-off-by: Qi Zheng <zhengqi.arch@xxxxxxxxxxxxx>

Acked-by: Muchun Song <songmuchun@xxxxxxxxxxxxx>

Thanks.