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 469C8C61DA4 for ; Wed, 15 Mar 2023 19:08:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232147AbjCOTIN (ORCPT ); Wed, 15 Mar 2023 15:08:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231290AbjCOTIJ (ORCPT ); Wed, 15 Mar 2023 15:08:09 -0400 Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8A9D8211FA for ; Wed, 15 Mar 2023 12:08:08 -0700 (PDT) Received: from cwcc.thunk.org (pool-173-48-120-46.bstnma.fios.verizon.net [173.48.120.46]) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 32FJ7raZ017918 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 15 Mar 2023 15:07:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mit.edu; s=outgoing; t=1678907275; bh=SipF4mXr0SWwKv19CTpPSkrDCfup+1l9M2ULmlF7psE=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=RZXSv2q5hkkz+kTvm5706zGU0f1l0md+vE6VEFqzZuX0OHDHLPQ9PUpF2NUudM91+ TMlYT95o3Mu9Dvs/ih0RY/84uJvvbz0xUpA2ivWmKHO2phAfWpZsMzGHtb9dML9PpD aUvD1Yjv0xnSDsYiId1wMCn0SOU0MQbYpl7VkndYqPqbVPY25uXwnpkOqFkCHHqyD6 OerKuZ1wdNcBQYBWuFsYigPaQfeMClEIzGr+QIy8xo17RTQGFpcjPLBM5pag0Zxlkm hLdgQaDH6ASPfcd8hN3TwRDNbA1H3F7QQP69ykC1Skh+qG0WIPN7+xrIjkEf7zVgNi sDTh7JJ2J7M1Q== Received: by cwcc.thunk.org (Postfix, from userid 15806) id 2E18F15C5830; Wed, 15 Mar 2023 15:07:53 -0400 (EDT) Date: Wed, 15 Mar 2023 15:07:53 -0400 From: "Theodore Ts'o" To: "Joel Fernandes (Google)" Cc: Andreas Dilger , "Uladzislau Rezki (Sony)" , Lukas Czerner , "Paul E . McKenney" , linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 07/14] ext4/super: Rename kfree_rcu() to kfree_rcu_mightsleep() Message-ID: <20230315190753.GC3024297@mit.edu> References: <20230315181902.4177819-1-joel@joelfernandes.org> <20230315181902.4177819-7-joel@joelfernandes.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230315181902.4177819-7-joel@joelfernandes.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 15, 2023 at 06:18:54PM +0000, Joel Fernandes (Google) wrote: > From: "Uladzislau Rezki (Sony)" > > The kfree_rcu() and kvfree_rcu() macros' single-argument forms are > deprecated. Therefore switch to the new kfree_rcu_mightsleep() and > kvfree_rcu_mightsleep() variants. The goal is to avoid accidental use > of the single-argument forms, which can introduce functionality bugs in > atomic contexts and latency bugs in non-atomic contexts. > > Cc: Theodore Ts'o > Cc: Lukas Czerner > Signed-off-by: Uladzislau Rezki (Sony) > Signed-off-by: Paul E. McKenney > Signed-off-by: Joel Fernandes (Google) Acked-by: Theodore Ts'o