Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4379395rwl; Tue, 28 Mar 2023 06:30:05 -0700 (PDT) X-Google-Smtp-Source: AKy350b5L4LjSP1U+yDYxhlF7c1+tqMHPVYzFTATu5MPL1hEWBGFJKfkNA63rnDJGSx9fHvRV3ix X-Received: by 2002:a50:ed17:0:b0:502:5288:e37a with SMTP id j23-20020a50ed17000000b005025288e37amr2209847eds.6.1680010204819; Tue, 28 Mar 2023 06:30:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680010204; cv=none; d=google.com; s=arc-20160816; b=OFb7saShX9gKFgc1ht0UthnvyFUOJxYfaOhK3nOtxgVRO6dB4OvuJi5Nv+EKBEtFmn xrztAMU4XjqpvKz6fdlNxlu76Gznyzm3nLL5YuMpzJCR8SlDbWwC+v0Ew5oka9H1oD37 D890wP3bPK+OzY5gyyEsiQKcqGTf8gnsPRE5g69j9W8dNkeIuOTjTlH/iGhFcels7c3b oM6sClkj00uRBf0II7FLw6MHdAxZ6br/Q04Rwm+ZL0+6fZagk4lgGTfkNuJKwfGI8JK4 s8HZcUxFpPd08nlF9XkDAjaCINc0BLb0lLfqKSuDGb0mlZzqjhpla+yoJb7/6DfawSyL CHpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=ntULfQJggmdaqbZLqK7ncFbPSNSEXt5TzQS/aFU/5Pc=; b=SbMYtIOBw5vPP7Ux5vXhz2c/9fVUvIw5RKE8Avl8G3zXKIpWnq69sbWmvcylckIszw +x0YgamQV3WAbIX13FR612SHhnpx8Cz0w93JcXrt7lDv58ZqbHVqsm6dkt5wy0f9K9vJ I/TmhALVLmTCmlT9ia+KtHU3yPm3pvFhzzLj0Gwxl/S+UBwEBhwsm/F19r6KUaVYbQhU x7Vgf9OqcmlXKQ3BpDelOe5RPNGHcdCnx5brW7Ej9naLXvY3YRNeafEYTo/mnNtiSPFw X5dg75ZeWXT8LqNkq8zRnqmcbPlw6G/oWZrKRbM9cDQZXaNsA+endqaLttBugH8nvrIp 5fPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=iLIlR3Vy; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f11-20020a056402004b00b005005c61fdf8si25192196edu.372.2023.03.28.06.29.39; Tue, 28 Mar 2023 06:30:04 -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=@google.com header.s=20210112 header.b=iLIlR3Vy; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232575AbjC1NY7 (ORCPT + 99 others); Tue, 28 Mar 2023 09:24:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232764AbjC1NYz (ORCPT ); Tue, 28 Mar 2023 09:24:55 -0400 Received: from mail-yw1-x112b.google.com (mail-yw1-x112b.google.com [IPv6:2607:f8b0:4864:20::112b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C35A3BBB6 for ; Tue, 28 Mar 2023 06:24:48 -0700 (PDT) Received: by mail-yw1-x112b.google.com with SMTP id 00721157ae682-5419d4c340aso229037947b3.11 for ; Tue, 28 Mar 2023 06:24:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; t=1680009888; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=ntULfQJggmdaqbZLqK7ncFbPSNSEXt5TzQS/aFU/5Pc=; b=iLIlR3VysUqN2n+K7Rz9WKfCcJLSTSx4NXO9I1yXLrlfhLgH5+IkJOW/OExv+tAp2p KLwmq425It8H20dpM0ac09a+vLFQBsaodZP50nnSdn4NPSgU/FnP4IoWbe2linipSeqz gXPndO8BQ9boGvc7auVZsdo8oEo2nNNubeOewSk0lDqJmSYfpk9BL0NvDdeBZ/+eYbYt vCoep2rw0xDCxlAUelFlpn+OMs11ce2T2shwo+AdP9qIAH/gH8oGDJNKaJLz4JCsPJcy 3O/lx+x7RQmoTNPuwkKIytNaDqU/QTxCL4tT2Daz/Dep3lWyEoL5WhB/cC0yuxcgmIG1 Cdkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680009888; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ntULfQJggmdaqbZLqK7ncFbPSNSEXt5TzQS/aFU/5Pc=; b=wqW+OcSkBZFR5g0sE+djwDK6o6EctzpceqGbvjghPPLm6rQnOfLb9b8hX3qK6s3y77 Fp8z+Ut1t7pJ/rq5eA4tW0aQLi09J7eRb/SvHr+TKNAWTfIaPxxCxkbTUjK4YgPbR2d6 V21TKq+vRhHOKyMTmKEtcheAl8ObdY+Ub+F1fj0dzWgQ1TSLV5Vv7QY4YnKGatl95rFo u7MU+GYj2N0N2NQJFUXVuzevQHz4WmQoMXY/AuVtghaZCRYCsgs/2HWFtpuOk3u2rAwz l/QwkQ/jvdvy+8uaC2PrA8aDZIAy4Nz2xv2OV/rA/nySpFUu7On6+MXQHlnalf+i+nBd inVA== X-Gm-Message-State: AAQBX9d8xN4F/iM/+aDtJ2hMo8Qwcl5YcoQV8TiRm8+/zq+aA3A0JMPg wkKLqRKGZfsZlm9MPzOfbWCnvANL+EuFJssJP/tfXf31IZiAY8/C+nk= X-Received: by 2002:a81:af60:0:b0:544:b8c2:3cf4 with SMTP id x32-20020a81af60000000b00544b8c23cf4mr7307084ywj.1.1680009887781; Tue, 28 Mar 2023 06:24:47 -0700 (PDT) MIME-Version: 1.0 References: <20230328061638.203420-1-yosryahmed@google.com> <20230328061638.203420-2-yosryahmed@google.com> In-Reply-To: <20230328061638.203420-2-yosryahmed@google.com> From: Shakeel Butt Date: Tue, 28 Mar 2023 06:24:36 -0700 Message-ID: Subject: Re: [PATCH v1 1/9] cgroup: rename cgroup_rstat_flush_"irqsafe" to "atomic" To: Yosry Ahmed Cc: Tejun Heo , Josef Bacik , Jens Axboe , Zefan Li , Johannes Weiner , Michal Hocko , Roman Gushchin , Muchun Song , Andrew Morton , =?UTF-8?Q?Michal_Koutn=C3=BD?= , Vasily Averin , cgroups@vger.kernel.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, bpf@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-15.7 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,ENV_AND_HDR_SPF_MATCH, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL, USER_IN_DEF_SPF_WL 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 Mon, Mar 27, 2023 at 11:16=E2=80=AFPM 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: Shakeel Butt