Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4379782rwl; Tue, 28 Mar 2023 06:30:21 -0700 (PDT) X-Google-Smtp-Source: AK7set8dH5AGUb3hyuoLQKZwfAGfegFtYMvZdHxEMjFxCKAntTgZdV5muQcKtgs7NWuykZp04AB3 X-Received: by 2002:a17:906:78e:b0:905:a46b:a725 with SMTP id l14-20020a170906078e00b00905a46ba725mr21080233ejc.16.1680010221016; Tue, 28 Mar 2023 06:30:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680010221; cv=none; d=google.com; s=arc-20160816; b=GdEU86hqPBsEO/6/IK4RWqkHpqXJeCoU3a4+u4GT0UUGZl6M5ZypwOTlmy7thpKxTd JBzeoPXZVbVZhN+OKIHCfs95FPYRrPf5OVzVA/+4aqWhBQ/VllXPQKI2+XV64RLVEkpL 6ICY+tCBE3Gbf+zwxbBCxm/jl+x48o6XOpP8EvZ2YTsl/lHTguyJcoT+q/UITm6Z2EEH 8AAci6j0t0uuewLiFaPUqwwnIqWb2P8B3HXzn/93fk1OdKCqGWZU5q9sC+wf3e1kdjfr bXcoonU01yFem7gwrSTBPmh2tDEQQd/CDSfu1vcd+YYncX1kxFIOoJgMrDfXDQaK7YrX ZULw== 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=aKr9MaZxGZc9u8ZhIE9so1jdgqHxAOgc8JTrWbL9sqY=; b=s4Oag/ywDSNk1m8WJqIXru763HNxJ+rdNAPlWXp7mgede9ovSKircB2Iq3g3kzJsuE +8uZ3sLDfsGy0RC0pTKVq9tBxg9MZ4MzsCGse5Pvyjsw7HIv7GWMm2RaMOSZdPJlGEjF Ahmxj5dfBB/H86FwEo+bgG0wW2eFbxMPL9ld/oky3pKWj9xMq6boae5XhpWu3vdXySxf STiwuoGUSnAos6hNklFIpUi2n5KlPbnubVN5sOj7qtykQqQN0SypsF6RmYnyI1XTY/XW Mdt/ViphbhAwTAkYWfcKJFmDVPD+WoaSpIjhwhJArSXNkHxkDPnL/RaiGpcgF9tWCs7I jSBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=i9jvfdCe; 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 r14-20020aa7da0e000000b004fb16259824si29748705eds.339.2023.03.28.06.29.55; Tue, 28 Mar 2023 06:30:21 -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=i9jvfdCe; 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 S233117AbjC1NZl (ORCPT + 99 others); Tue, 28 Mar 2023 09:25:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44572 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233071AbjC1NZe (ORCPT ); Tue, 28 Mar 2023 09:25:34 -0400 Received: from mail-yw1-x1132.google.com (mail-yw1-x1132.google.com [IPv6:2607:f8b0:4864:20::1132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 602FFBBAB for ; Tue, 28 Mar 2023 06:25:25 -0700 (PDT) Received: by mail-yw1-x1132.google.com with SMTP id 00721157ae682-545e907790fso113475367b3.3 for ; Tue, 28 Mar 2023 06:25:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; t=1680009924; 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=aKr9MaZxGZc9u8ZhIE9so1jdgqHxAOgc8JTrWbL9sqY=; b=i9jvfdCeB9SsJnyBiAbhdPLhoxjsfRopr7eARS5rGyPO0aOs26naUPy0TOlNDXReWF R5Ea79kbAr+glBAXFOfEsjm49+Nm5fB3G3LIqw9DO4pIhWqBfQICEKbBtdAas72TZMRa 2naeIrUIfdDmFPzU0ieyV8VHQOarplR5OZFhsLhdFTJ17Qsili22215RkxE3w61P7NqR QN1VePuwazlq07Mx1/r+u1FhPyrqxDDF2mBmsHwUrqWufwHsPj0sdlguYWltwhWjNVjP 5VKvQ0LXJosLvebPB+Yu1xwBQd5x8bAJlaPp08d3BXWvpGTaWuuE3u78gHSrMcThnKrJ Ve5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680009924; 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=aKr9MaZxGZc9u8ZhIE9so1jdgqHxAOgc8JTrWbL9sqY=; b=m9iNkfrj+FrWEnuq3QBeoHg+FfcS1bAhbfMnbOlCRZKde2A5Jc3rrzJIWMROzyjuDw ul6/ARhiDcgBHGUDKrQMPiJyDEQjQJFrvsqXpVfG27tVovBt/AfoNmaQUc2bRPDldgao EVAEu007oy2HdZi5oT5Jwb0jKLHrV7Yv1G8jGIkf2QXWdNoQXKp7rVCQ8J2vGQjA08ac 9KB5orVm/TzqqnEPaHIQlTr5axVWFDTmK8FHsBIitng3h8WQVhc8e7cLRM74V3W46yXB q5UAmZHFV+0wy256cfBcQIRCRWCS/wYtaKpKsUAsBMYmOG3zt8Im0RzxLPBmmMWWPyeE IsFg== X-Gm-Message-State: AAQBX9cerCAMpOZlIvuYJZk3QPs/UvVeZVimcCL2E85rq0u1HGJIoAWT aOrWcsJ0LGScQ2gKhUbtnKJvqvPBf54He2dIju3kpw== X-Received: by 2002:a81:e546:0:b0:546:1ef:54f9 with SMTP id c6-20020a81e546000000b0054601ef54f9mr2180958ywm.0.1680009924474; Tue, 28 Mar 2023 06:25:24 -0700 (PDT) MIME-Version: 1.0 References: <20230328061638.203420-1-yosryahmed@google.com> <20230328061638.203420-3-yosryahmed@google.com> In-Reply-To: <20230328061638.203420-3-yosryahmed@google.com> From: Shakeel Butt Date: Tue, 28 Mar 2023 06:25:13 -0700 Message-ID: Subject: Re: [PATCH v1 2/9] memcg: rename mem_cgroup_flush_stats_"delayed" to "ratelimited" 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: > > mem_cgroup_flush_stats_delayed() suggests his is using a delayed_work, > but this is actually sometimes flushing directly from the callsite. > > What it's doing is ratelimited calls. A better name would be > mem_cgroup_flush_stats_ratelimited(). > > Suggested-by: Johannes Weiner > Signed-off-by: Yosry Ahmed Acked-by: Shakeel Butt