From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0AE1CCD37B0 for ; Mon, 18 Sep 2023 07:23:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238565AbjIRHWi (ORCPT ); Mon, 18 Sep 2023 03:22:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34434 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240190AbjIRHWP (ORCPT ); Mon, 18 Sep 2023 03:22:15 -0400 Received: from out-214.mta0.migadu.com (out-214.mta0.migadu.com [IPv6:2001:41d0:1004:224b::d6]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 75726196 for ; Mon, 18 Sep 2023 00:21:55 -0700 (PDT) Content-Type: text/plain; charset=us-ascii DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1695021713; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0Kxt8JjteCS5HtTzQZqQ0rRFv62CPGkTEVCfx4Rcug0=; b=ZCoRIWJ1RuEOilrewlCgtkUHhjqb3dy0AiDhJo0+fV27fhCh8qXZLSdAMaajKw0D/f02e4 TZXGVHyA7px7AlKSQvjT/2ffRLNhOpVqabw4Z4BCxBZ8gP6SZFCOkkNTQ8t+vzGegB6o+Z d5xuHwQl40loMW7KCeLk3ISVTPzL5Xc= Mime-Version: 1.0 Subject: Re: [PATCH v6 33/45] nfsd: dynamically allocate the nfsd-reply shrinker X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Muchun Song In-Reply-To: <20230911094444.68966-34-zhengqi.arch@bytedance.com> Date: Mon, 18 Sep 2023 15:21:17 +0800 Cc: Andrew Morton , david@fromorbit.com, tkhai@ya.ru, Vlastimil Babka , Roman Gushchin , djwong@kernel.org, Christian Brauner , "Paul E. McKenney" , tytso@mit.edu, steven.price@arm.com, cel@kernel.org, Sergey Senozhatsky , yujie.liu@intel.com, Greg KH , LKML , Linux-MM , linux-fsdevel@vger.kernel.org, Chuck Lever , Jeff Layton , Neil Brown , Olga Kornievskaia , Dai Ngo , Tom Talpey , linux-nfs@vger.kernel.org Content-Transfer-Encoding: 7bit Message-Id: References: <20230911094444.68966-1-zhengqi.arch@bytedance.com> <20230911094444.68966-34-zhengqi.arch@bytedance.com> To: Qi Zheng X-Migadu-Flow: FLOW_OUT Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org > On Sep 11, 2023, at 17:44, Qi Zheng 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 Acked-by: Muchun Song Thanks.