Re: [dm-devel] [PATCH 15/29] NFSD: dynamically allocate the nfsd-client shrinker

2023-07-10 Thread Chuck Lever
On Thu, Jun 22, 2023 at 04:53:21PM +0800, Qi Zheng wrote: > In preparation for implementing lockless slab shrink, > we need to dynamically allocate the nfsd-client shrinker, > so that it can be freed asynchronously using kfree_rcu(). > Then it doesn't need to wait for RCU read-side critical >

Re: [dm-devel] [PATCH 15/29] NFSD: dynamically allocate the nfsd-client shrinker

2023-07-10 Thread Qi Zheng
Hi Chuck, On 2023/6/24 05:49, Chuck Lever wrote: On Thu, Jun 22, 2023 at 04:53:21PM +0800, Qi Zheng wrote: In preparation for implementing lockless slab shrink, we need to dynamically allocate the nfsd-client shrinker, so that it can be freed asynchronously using kfree_rcu(). Then it doesn't

[dm-devel] [PATCH 15/29] NFSD: dynamically allocate the nfsd-client shrinker

2023-06-22 Thread Qi Zheng
In preparation for implementing lockless slab shrink, we need to dynamically allocate the nfsd-client 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 nfsd_net. Signed-off-by: Qi Zheng