Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1829890rwb; Fri, 23 Sep 2022 20:32:48 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7MItethNVeR4Ra88vgBu//mRcnb7YpRWdJP2AmVMlOJBntqqvrF1UPsJKS392Q5vy++Aok X-Received: by 2002:a63:f353:0:b0:43c:3b4c:84cb with SMTP id t19-20020a63f353000000b0043c3b4c84cbmr6927407pgj.298.1663990368331; Fri, 23 Sep 2022 20:32:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663990368; cv=none; d=google.com; s=arc-20160816; b=HToHrZt7oZ3zW6DDmCs3GYywTtnHXZ5aqgOu0z8X1Hv79mzesbp3RM5Utab1kDubb2 z49fAjYkWzD8Y2RSDtwWZ3Hp3ZnwP7uNv4IJClpRkZwVue+T4ZW4xhlEPxdnTYHp0cW9 RjE8LtHH7DwDw/8FxMOMdo13JY9qYJVPCihy2DiZsi+joz92jdBSkKPXe+mu2GWLigw7 QN8HraQEV0CHAea0/ntcyqw7XBRcz/mLhKr+zk7HhLjuESWC9goS1VUkvpAOk+4A/Jhe S5pT5bcnwVxwsDCQaW01hKmLHiClqiXO9dn4HkouzoWDUf8EdFdIXWl0m13wPbNDcYeT 5vQg== 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:sender:dkim-signature; bh=P8vaI21b92NWGEjpnCZy/ODfb54d6FrqhksNG5cepIM=; b=Rw0JcbCu5J53oIOJtpeIgMxhsWO76OngqsxO8yA9xL9B6ohGnJplRueR3+0px0iLm8 f4UctU7pzXMZNSCdaBr2UxQ0NKFLz/x9bjchws0ti3GP5Fu+f8vRegOdipIVUDHb9vz+ xhFHZZ5g6e6sa88olwaVQ3G/MWKFs1cR1K5YqXKilOXaedEjDrrudhu1m2y3U+IdbHMy 2WOMppbh26RkOkmid4Zr1hANsdYofwDkv1mk19LIN4oIxGofmdxKPgXcj4oF2jz4ty/r tqC/+1WDXV7LtTcMeao6pJth+PsjlDe5FuBP+dSPycJBKBiQih/Wgo1XTwdXvj4Pn8If FAYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="caLduk/X"; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i64-20020a638743000000b00434ac3bd2f7si4960165pge.700.2022.09.23.20.32.35; Fri, 23 Sep 2022 20:32:48 -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=@gmail.com header.s=20210112 header.b="caLduk/X"; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232783AbiIXCxK (ORCPT + 99 others); Fri, 23 Sep 2022 22:53:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34686 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233412AbiIXCwu (ORCPT ); Fri, 23 Sep 2022 22:52:50 -0400 Received: from mail-pf1-x42d.google.com (mail-pf1-x42d.google.com [IPv6:2607:f8b0:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 88CEA1401B6; Fri, 23 Sep 2022 19:52:39 -0700 (PDT) Received: by mail-pf1-x42d.google.com with SMTP id d10so637292pfh.6; Fri, 23 Sep 2022 19:52:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date; bh=P8vaI21b92NWGEjpnCZy/ODfb54d6FrqhksNG5cepIM=; b=caLduk/X8w4TnrVwSePAZCEH+FzRhkWjC4M0DPcbbDsa5BILOuhtNcXGd8A3oh66UR lriiKxLvcTpSIy3D7eh0T2sQzbH3DgktH3gfWckNZn+hkFuNO2zPI6iqQlh0P/h5R0yU R7Ahpl/xjHazmSLed2t/OvNlLchNTmnymyQuuy5N3EMhG0dJ7tbCkosPH5/jrMuAVSbU doGSVQjEm/Pe1RlEFPg2mZYTAwosPvOW3KPWLP7JY66NdTuGuAQPjap4ie2VbxhmW+N1 EX9y7Ha/HGTltUUoM6yrSCxi8vNKpcT84nl6N/oVoMSIVhdYdB9VupgIZ5F6W2ZX5dby IW4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date; bh=P8vaI21b92NWGEjpnCZy/ODfb54d6FrqhksNG5cepIM=; b=K9JlRblKtfF0Ot0R3ck8bEnNR23nyk6JfGohTv+cQ29z+puOE8VU9dpqQHvxp7ycWZ srN07R35wUbdmr3y2M9Jl+ioU8KSr0COOJv2/2IP0xalCdEdeZSC/IXXmy9iZB67VG7f OwHceBOa80MHu07GP/8cCO+4fd/fsfazevmCHAAwpq0cJL/NWBplDSaQpyBM9u2sA6WL ghcKBcEMCI/0B2Vn9+BQmYdB7ZJweJHARp0S3GYLsxuhloaaW4G6rsJ68lYfcmnfV8DY 1YBgay/VoZSDVSFmWcj9ftLFZwSgTwnLbMfn6ZLegb0IHYmwBJE3MzDYLw3acCwxZS3k moAg== X-Gm-Message-State: ACrzQf0Hj3sw5N/IJLi7qr4DWEFbZfQnptWrDdf1Z647VABoYbRPTnAE KMfOc9NR0oFevwggb6NszOo= X-Received: by 2002:a63:4918:0:b0:439:1802:dda3 with SMTP id w24-20020a634918000000b004391802dda3mr10015022pga.467.1663987958803; Fri, 23 Sep 2022 19:52:38 -0700 (PDT) Received: from localhost (2603-800c-1a02-1bae-a7fa-157f-969a-4cde.res6.spectrum.com. [2603:800c:1a02:1bae:a7fa:157f:969a:4cde]) by smtp.gmail.com with ESMTPSA id z11-20020a170903018b00b0016bf5557690sm6627633plg.4.2022.09.23.19.52.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Sep 2022 19:52:38 -0700 (PDT) Sender: Tejun Heo Date: Fri, 23 Sep 2022 16:52:37 -1000 From: Tejun Heo To: williamsukatube@163.com Cc: lizefan.x@bytedance.com, hannes@cmpxchg.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH -next] cgroup: simplify code in cgroup_apply_control Message-ID: References: <20220917084039.3177-1-williamsukatube@163.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220917084039.3177-1-williamsukatube@163.com> X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE, SPF_PASS autolearn=no 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 Sat, Sep 17, 2022 at 04:40:39PM +0800, williamsukatube@163.com wrote: > From: William Dean > > It could directly return 'cgroup_update_dfl_csses' to simplify code. > > Signed-off-by: William Dean Applied to cgroup/for-6.1. Thanks. -- tejun