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 4A502CD13D1 for ; Mon, 18 Sep 2023 07:25:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237726AbjIRHZT (ORCPT ); Mon, 18 Sep 2023 03:25:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37594 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238545AbjIRHYw (ORCPT ); Mon, 18 Sep 2023 03:24:52 -0400 Received: from out-218.mta0.migadu.com (out-218.mta0.migadu.com [IPv6:2001:41d0:1004:224b::da]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 929FF12B for ; Mon, 18 Sep 2023 00:24:42 -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=1695021880; 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=zzzC/B353RosUdr7fwJlfSV65TSyTW3V9hwKh5E4O4k=; b=jZXsCrbpQ31M3u4AouhIh8fx/kKsqnynLkBX3kPobIDV2fkF+8cF/AELK8bdy7XofUFC/j hLWKSH8/jVq3ewpIPhflQB+eBi1kw2mIuk17I3Bf1NWRPgrDy1HN1qD5f/ToTe2ottPVgb +cEseA4Gw/DnycGQ/PMNMeTgdirdfZs= Mime-Version: 1.0 Subject: Re: [PATCH v6 26/45] bcache: dynamically allocate the md-bcache 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-27-zhengqi.arch@bytedance.com> Date: Mon, 18 Sep 2023 15:24:02 +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, Coly Li , Kent Overstreet , linux-bcache@vger.kernel.org Content-Transfer-Encoding: 7bit Message-Id: References: <20230911094444.68966-1-zhengqi.arch@bytedance.com> <20230911094444.68966-27-zhengqi.arch@bytedance.com> To: Qi Zheng X-Migadu-Flow: FLOW_OUT Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@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 md-bcache 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 cache_set. > > Signed-off-by: Qi Zheng Acked-by: Muchun Song Thanks.