Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp3621141rwb; Sun, 20 Nov 2022 18:26:27 -0800 (PST) X-Google-Smtp-Source: AA0mqf5H6Ce38nGDIRKqVAvEoj4VN6i96LZHAmqCtHYEVdVm8gZNHYvV0L+8H4TJtqzdmvQ/X0je X-Received: by 2002:a17:906:404:b0:781:f54c:1947 with SMTP id d4-20020a170906040400b00781f54c1947mr236354eja.69.1668997587492; Sun, 20 Nov 2022 18:26:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668997587; cv=none; d=google.com; s=arc-20160816; b=sjmgz6GLlt+qMRkTT8Az9nK3QZVbDgKPFXV6rHm0l40ymjmEDB/NziXgqDCQBaaDQo DgGB7zwz/Ukl43KQnSQQnTzz+HceAaQP7scW13pbxN2FdnPLll8lw2MSl4tYUrljTwHV RJkHx62eckZh3RJB/tQsc2/4kUeDgHATy/qvSJyTHV3lv+Xh3V6WofHNzJB/HxFNQsiG n367BtWQDG9WF040kaijWUp+sMme0caOTPwlrz+6UeCoIKpU6sQZaR7MzMeOaAqndBMy eI/V9UUjOefcZrCvpUy81siiVTyISLiNBz6hjr7LVYhWLKFumettoqouEBNdBYHQ4TSn fiOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:subject:user-agent:mime-version:date:message-id :dkim-signature; bh=McRhEbkJO4TzXUeiVWCG8MYZdpyYAh/UI0V02O72ffA=; b=tjIickMbMkctVO6X/ZHWirpXJ5J/71wFw6v1IbpIEiUlX8v1a1Nnn6rUgPdfjK5DyA hOcsOfoNmokNlCk2PoNiO3+90Rwln0EOtdCxY6ItCXKbyM0qezZBCCzlPlTb3XWSHVgM /wNDGrTfrhXZ+t3vFFhPWSbwayz/SyVvGqtr0Gf73UEjMDNBmJAAenOBE90fyzWhbysw GqhsMpOmEj8/K1uWgzqZNgBPxBljFeZO7Iwb01pLSlzzzKrljRE51opindRgrzfCPmqv R56fK1Oso14T8cvJymN/YQOTWkNwDSQnqgnspQ5seBPrg9DwLO3ZZFdv4JQy+yUDy5gw h4VA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@shopee.com header.s=shopee.com header.b=EbJG7unh; 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=shopee.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t3-20020a056402524300b00461b84a010fsi5657189edd.295.2022.11.20.18.26.04; Sun, 20 Nov 2022 18:26:27 -0800 (PST) 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=@shopee.com header.s=shopee.com header.b=EbJG7unh; 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=shopee.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229676AbiKUCCC (ORCPT + 90 others); Sun, 20 Nov 2022 21:02:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37260 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229645AbiKUCB7 (ORCPT ); Sun, 20 Nov 2022 21:01:59 -0500 Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1BCE018B35 for ; Sun, 20 Nov 2022 18:01:58 -0800 (PST) Received: by mail-pj1-x1034.google.com with SMTP id q96-20020a17090a1b6900b00218b8f9035cso792942pjq.5 for ; Sun, 20 Nov 2022 18:01:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shopee.com; s=shopee.com; h=content-transfer-encoding:in-reply-to:from:references:cc:to:subject :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=McRhEbkJO4TzXUeiVWCG8MYZdpyYAh/UI0V02O72ffA=; b=EbJG7unhNaF/gUyUj4qAfK00TtL1GN9HurLGl/zwYmLVMkrGvboKfJiZhuUDzo8HVA y4g5YvzbCuOaXTRNGk0BXLhhqcvvO+EXOQMryhqNuZnrnyRWRY/Qg7jXG9uT+IBH/Fh9 vgZyZxOVyJemEIdVp/5DmbICQ+iLM5CJjdh14olEhf789Z7895MyRp1MAzL9VEqbhwFf uL7X9B42yy0Fv4klFvrJReT74Vj4RVU5LiJpyWeN6yde0KuWYScOFjBMj9V/hNAHtrWT cZ5roky2c4+Nave/IzprJPWNOiBJeduXVBBmBCY7qzwBnBbyZDlPAkcMbJQFmfWwTW5U Wk9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to:subject :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=McRhEbkJO4TzXUeiVWCG8MYZdpyYAh/UI0V02O72ffA=; b=xflBR2VhrUjRU3R98iSz/7XpqFx/xDlSTXyxbTgT6K2M1qJXIRZEFyeEsIq2UYeRe/ pv3nhmgcEJfCzh0WVzZUwlCZie6E/DNOrekS77PVn0R2M7j9r8SJCyPiYC7WC0H+XqoR 7/DgeDcYGyPlH+g5wnNPwmcsDLXNt3WTU0H4BDDsK3AEhPK4okWRr7b1mvgbD0WqWYhZ +Td88ZiFbrATjgI4JF/Eay9yxDgL2/PfNnhyvDf+TP+GrRMgIYY+8OV6jPXXlG54UZdP /DxTwO1cxUAQmDfsB/ieO1oxow0iSRFr/Ac7e+bRcXJMhlNeyv/c76bns9h8uHWiLzI6 KDPQ== X-Gm-Message-State: ANoB5pmfQsix3f/si9yIFcTKc6Q6huj+0YXcLMG643BY/N2KJTlqjzx3 NjtkpWdOxgy8FXHKsSQvWEdfvA== X-Received: by 2002:a17:902:ca92:b0:17f:7f60:480a with SMTP id v18-20020a170902ca9200b0017f7f60480amr1100591pld.145.1668996117484; Sun, 20 Nov 2022 18:01:57 -0800 (PST) Received: from [10.54.24.49] ([143.92.118.2]) by smtp.gmail.com with ESMTPSA id m13-20020a170902db0d00b00188767268ddsm8271223plx.151.2022.11.20.18.01.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 20 Nov 2022 18:01:57 -0800 (PST) Message-ID: <191a3853-70c5-b89e-0911-e046207876e5@shopee.com> Date: Mon, 21 Nov 2022 10:01:52 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.4.1 Subject: Re: [PATCH] cgroup: Fix typo in comment To: Kamalesh Babulal , tj@kernel.org Cc: lizefan.x@bytedance.com, hannes@cmpxchg.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org References: <20221120155134.57193-1-haifeng.xu@shopee.com> <819bdb10-2569-b7b1-b75b-168b77d1959f@oracle.com> From: Haifeng Xu In-Reply-To: <819bdb10-2569-b7b1-b75b-168b77d1959f@oracle.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 2022/11/21 00:38, Kamalesh Babulal wrote: > > > On 11/20/22 21:21, haifeng.xu wrote: >> Replace iff with if. >> >> Signed-off-by: haifeng.xu >> --- >> kernel/cgroup/cgroup.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/kernel/cgroup/cgroup.c b/kernel/cgroup/cgroup.c >> index f2743a476190..93c5e50b1392 100644 >> --- a/kernel/cgroup/cgroup.c >> +++ b/kernel/cgroup/cgroup.c >> @@ -814,7 +814,7 @@ static bool css_set_populated(struct css_set *cset) >> * One of the css_sets associated with @cgrp is either getting its first >> * task or losing the last. Update @cgrp->nr_populated_* accordingly. The >> * count is propagated towards root so that a given cgroup's >> - * nr_populated_children is zero iff none of its descendants contain any >> + * nr_populated_children is zero if none of its descendants contain any >> * tasks. >> * >> * @cgrp's interface file "cgroup.populated" is zero if both > > iff abbreviates to if and only if and it's a valid usage. > Ok, thanks.