From mboxrd@z Thu Jan 1 00:00:00 1970 From: Muchun Song Date: Wed, 26 Jul 2023 15:45:56 +0800 Subject: [Cluster-devel] [PATCH v2 40/47] fs: super: dynamically allocate the s_shrink In-Reply-To: <20230724094354.90817-41-zhengqi.arch@bytedance.com> References: <20230724094354.90817-1-zhengqi.arch@bytedance.com> <20230724094354.90817-41-zhengqi.arch@bytedance.com> Message-ID: <2eb5ac60-d03f-c770-144c-67c23337a899@linux.dev> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On 2023/7/24 17:43, Qi Zheng wrote: > In preparation for implementing lockless slab shrink, use new APIs to > dynamically allocate the s_shrink, 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 super_block. > > Signed-off-by: Qi Zheng Reviewed-by: Muchun Song