From mboxrd@z Thu Jan 1 00:00:00 1970 From: Muchun Song Date: Wed, 26 Jul 2023 15:42:45 +0800 Subject: [Cluster-devel] [PATCH v2 37/47] xfs: dynamically allocate the xfs-inodegc shrinker In-Reply-To: <20230724094354.90817-38-zhengqi.arch@bytedance.com> References: <20230724094354.90817-1-zhengqi.arch@bytedance.com> <20230724094354.90817-38-zhengqi.arch@bytedance.com> Message-ID: List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit > On Jul 24, 2023, at 17:43, Qi Zheng wrote: > > In preparation for implementing lockless slab shrink, use new APIs to > dynamically allocate the xfs-inodegc 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 xfs_mount. > > Signed-off-by: Qi Zheng Reviewed-by: Muchun Song