Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4752973rwl; Tue, 28 Mar 2023 10:48:42 -0700 (PDT) X-Google-Smtp-Source: AKy350Yz6c/ejLk4EjeAphohyagKxRdIeTPy/qL8jndrV1MOJsy+hS3IMezYgEzQ6Uk6JbqMiMdh X-Received: by 2002:a17:907:20ee:b0:930:6e31:3c11 with SMTP id rh14-20020a17090720ee00b009306e313c11mr17711010ejb.70.1680025722387; Tue, 28 Mar 2023 10:48:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680025722; cv=none; d=google.com; s=arc-20160816; b=mXWjvHLGN6p3taV+ACu6ZVKyJRzuk878HLPk5aGQJMkigRtd9NATB5m+8juc3ZWq/X UpvIjXkSaGFAU5p33l2JwkMOjbVQb20Yl6DrvED4KJDoTGF5TXmkT36Slg4FW7si+kcs H/n3Hbs52yu8kahcxRmMrHxmp1PuGZkmTl9m9zK9nsL8VP64FoeiTRBcUQp6ekTXm6x7 hXB5L4Syf3HyWyCnhZhMMXdsutKRVj4EpQcUh3t8btjqWgKukZkOBOnWbmgbIUP8gsIs 2hq0BuVm3/1d8DG8wtOAhQGb80ykUU5R1NSC+UtJOPIMmU9I5BfjH249oKF5JPqYveSo IJJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=OdjXZM63BnqFRkAjlfnPpinEdD7TpZ20uen1Kc76yzY=; b=tFQFEQvQmGiThVaOAFwbOA3FY7nYqmhCs79xOt7xGgPTDqmgxMVB9DUuE4N9HEvmk7 diS8wlMJVxadfamfVfjpLY7p+qjG9U/ABKtYnjA7TPK2+fYcZUuPD2m8fradB5F4/5Eu l0p4D//HONp/Y7g+UBahJrFPou3l7/v4SHXdhS4fYv6c1RWj+VELyvf7ynu3zl6fyKMj YG5VDtoSkN+OlRucqe7hfRo+/XaDsmRthpGuZPsVNhfloMV0+DL5eWyULttGU0r8t1S3 SGmZsFHhd9bszG9ANRPOtyGHh4UsUA6mb31AEX4VTP+85RWOPzrbIschARUdKiw8yLLc Z+zA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cmpxchg-org.20210112.gappssmtp.com header.s=20210112 header.b=XkSSaVRh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=cmpxchg.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k14-20020a05640212ce00b004fe961ba207si33872293edx.236.2023.03.28.10.48.17; Tue, 28 Mar 2023 10:48:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@cmpxchg-org.20210112.gappssmtp.com header.s=20210112 header.b=XkSSaVRh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=cmpxchg.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229456AbjC1Rmj (ORCPT + 99 others); Tue, 28 Mar 2023 13:42:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51424 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229451AbjC1Rmi (ORCPT ); Tue, 28 Mar 2023 13:42:38 -0400 Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B40F1AF09 for ; Tue, 28 Mar 2023 10:42:36 -0700 (PDT) Received: by mail-ed1-x52d.google.com with SMTP id r11so52960714edd.5 for ; Tue, 28 Mar 2023 10:42:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cmpxchg-org.20210112.gappssmtp.com; s=20210112; t=1680025355; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=OdjXZM63BnqFRkAjlfnPpinEdD7TpZ20uen1Kc76yzY=; b=XkSSaVRhEu8Jkiy0akM6wNvHj81vWyDUX4zDbELthR0W7IKpQL5VFjzfb4O7oRJJzx /+V55i/y66oIT17EyRgliReH0SzCaNchzN37b7i9Qy0JtGZpxpt7TDCkTv3Y8TJq8/cS XOcgYZMVWjFB/pGadqgIUEGENaTNPM9ivJBqqcUY22+PWsjwhB34WKDjosN59L+2zHzd 9UCNcEUVm8EhuOlILx44UWRGvgqsn/bty2TQm7+eBdaRlAsjqc6dHNsL4cpUS9UT+j5B 6OQYzm4H9GReeF59X9O43IdgySJFfL9l+9J/dVpP2YlhzNOLrcjJfVgUfcaZE7yZ/JXP mKvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680025355; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=OdjXZM63BnqFRkAjlfnPpinEdD7TpZ20uen1Kc76yzY=; b=SFrtL65y48M3smlNtuRqtta8B/2KV15ZHG5XST802Uhdihr/EClTqQ1BFYL2FahBMv 7SLVvpC2Wkf1k3zDSpmJEyMTrvxOZXaDfFc1d9AikJ45AcpAeJpEfiTKNoY1MdMSbjdm W9hQuOvuPhvWxRTkBv1dFzUDH1CM1dNvwSqGCXtvw0aEZfyjCMtPAlrl8kjEj37Fd21J lSnPHIqGowlwdZQUUTNT7yB14NDBSLvrWwFzTTkJXkpp3plS5rKTYBCTvspf1oqVfQwq 5gK5QK+P+9ErmetFblZemA8MCvW0JbQ5dLlS14JgYoK7TrW88ghPSk+mLXDCV1bAD/9i Ylcw== X-Gm-Message-State: AAQBX9eR0PyJbRYrdtZqw4pU/bD3JI9PotmCIsqmSzHRsN2fm8Rn8EX7 LjVj4pHsBVAum1TVDRdbsupoAQ== X-Received: by 2002:aa7:d658:0:b0:4bc:f925:5dbe with SMTP id v24-20020aa7d658000000b004bcf9255dbemr16254610edr.42.1680025355066; Tue, 28 Mar 2023 10:42:35 -0700 (PDT) Received: from localhost ([2a02:8070:6387:ab20:5139:4abd:1194:8f0e]) by smtp.gmail.com with ESMTPSA id c5-20020a170906924500b0092be625d981sm15559189ejx.91.2023.03.28.10.42.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Mar 2023 10:42:34 -0700 (PDT) Date: Tue, 28 Mar 2023 13:42:33 -0400 From: Johannes Weiner To: Yosry Ahmed Cc: Tejun Heo , Josef Bacik , Jens Axboe , Zefan Li , Michal Hocko , Roman Gushchin , Shakeel Butt , Muchun Song , Andrew Morton , Michal =?iso-8859-1?Q?Koutn=FD?= , Vasily Averin , cgroups@vger.kernel.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, bpf@vger.kernel.org Subject: Re: [PATCH v1 1/9] cgroup: rename cgroup_rstat_flush_"irqsafe" to "atomic" Message-ID: References: <20230328061638.203420-1-yosryahmed@google.com> <20230328061638.203420-2-yosryahmed@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230328061638.203420-2-yosryahmed@google.com> X-Spam-Status: No, score=0.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 28, 2023 at 06:16:30AM +0000, Yosry Ahmed wrote: > cgroup_rstat_flush_irqsafe() can be a confusing name. It may read as > "irqs are disabled throughout", which is what the current implementation > does (currently under discussion [1]), but is not the intention. The > intention is that this function is safe to call from atomic contexts. > Name it as such. > > Suggested-by: Johannes Weiner > Signed-off-by: Yosry Ahmed Acked-by: Johannes Weiner