Received: by 2002:ac2:464d:0:0:0:0:0 with SMTP id s13csp3296688lfo; Mon, 23 May 2022 01:00:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJywnRcmO1Kmwz58s4wetv9MhtDZIjptiVlmGjYfiggag2q0kIdldMyWDW2KdiGR+tw8q+yd X-Received: by 2002:a63:553:0:b0:3f5:f32a:7c54 with SMTP id 80-20020a630553000000b003f5f32a7c54mr18712653pgf.138.1653292840599; Mon, 23 May 2022 01:00:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653292840; cv=none; d=google.com; s=arc-20160816; b=Fe6Y15YvItUnuzzilB5BlHY92WVq5xUFI0gj2fwgNq9rHTHdwvK33R2Yg8++HvFZoi i/Gy5giN6z5VHyR3IwFsVoMIxaUqU7ERzjRhezQ/JycjNKe1FJLysbBoKvSeJxkV5+vs P/LHLFrxubtAO9GF0HUk3tozX1QcpS4FFD1q+d3r7R6j/TYBuB9hGAAklXSysYohBCfO ORn6PtONf7vYd673kxeN1AeelgCofE6zB84Hclen9B4Rs71t11HHso2EqRSGfNHDrPNW wi4cm6r6gUVg5QPNe44RyLjws/pcE8uSJWnETW6Jj0eWaWhhn9d+P/K+jLnHXxuq25uR xMiQ== 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=YlH159IcSNXAnSMmJrm8SPIzKKgsdQNyWHqQ6RmP5X8=; b=X3iOWGD5faL0SXcNjHubNK3hvqDJNB4VV7vaSy18cmWN3+4GkqyAG1GZiEoLlwerKj KYeGXYxkFbULhIl5rnutuVjWEqtu2md1h/5fczlIovBahg/p10oOlGgUR/8Q1Q2yBehj D2m4HY2vdci1bbUof92OWtrArCDPcHC/Lzz3oQWXvJgEeUitJffsIRoLmGU6SSQL2IDq 9JIv7+oLOYLaW7X/XF4qOA/RlbS2K5RefcjVwMIDF2UbA0E3rZ721fDJfrKc2ic+IGAd ptOlBpOShThagoBHsEIlQJSjKI68XSVixvp4suUqHvrSBfToaodx/O1Gsj1y+m5yEcux Fo1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=UFMQ6EQg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id n7-20020a654507000000b003db8257f161si8438654pgq.115.2022.05.23.01.00.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 May 2022 01:00:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=UFMQ6EQg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 699DA253A80; Mon, 23 May 2022 00:01:04 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346648AbiETHvW (ORCPT + 99 others); Fri, 20 May 2022 03:51:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45570 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346641AbiETHvT (ORCPT ); Fri, 20 May 2022 03:51:19 -0400 Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B8B4335; Fri, 20 May 2022 00:50:59 -0700 (PDT) Received: by mail-pj1-x102b.google.com with SMTP id f10so7354968pjs.3; Fri, 20 May 2022 00:50:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=YlH159IcSNXAnSMmJrm8SPIzKKgsdQNyWHqQ6RmP5X8=; b=UFMQ6EQgUHKYqvJqw5I6s0P7kMn6UxEfOGOyCHgjfGaTURsUdYbkyHzzQNaiSkc0B8 kzo2XZXZ9YsddgW/3uR4CTQ49h2BWa17hKYq3sFHmshzOxgYsIOtGAQKCZEWty554kys Cp+JrBH/gYGExZiKTJzX7MyD9EcAeSczl6tQ1SohJuptWykoZcNPfK4YlyGmY24LsTWG Iwcbb2ILRU33S13LSaKFCK2mJntHkAXligibXRmYhjSIB/en61VfXoz0vLqiyYDMo71p fbR+7X7qgWrbdwGihSZdWt1PZ3Ii/ayrpduRnCLwcysQ7ZDEVmAs7O6VJE1Z7KM5DkOl LQKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=YlH159IcSNXAnSMmJrm8SPIzKKgsdQNyWHqQ6RmP5X8=; b=Jpv1kcr19gN7pIke43XedcGVEVKupKbiRslITe8JJDDJH198zcZjAbvD68syIc1d/5 2hHgiRqJoAeXdtr3LBRYA078+qBpPOF2t03jrOFiG6s+YNspha0dFDyR2O+0rZFv5qgd aJk/aoLDT2eNUENjyg1VP8mDJ02sY9Gpj6zBn5GfM4mGr3FbdinjDdzfUZFIWcBCE9ha ZQ5AzmMttLKnzkrGmlCCmOzh9DLz5Rs1zsh6Qaqj5feTRdX0X86R5A97V12ICIyGw5a2 2NYdDgxGQ49vnQNMVsyWUGvDVmMAL3c87vA+NBqCaq2C4mbiuNjCq0XFacRRqdj1KH27 BFQw== X-Gm-Message-State: AOAM533u+aUTvaZamkyhZ52V6NM18JfJ/m03J6ycxg1F6X766q81GDXw jnUxQag9gClrEdc8ZU73q2IdsRIre54= X-Received: by 2002:a17:902:8608:b0:158:c532:d8b2 with SMTP id f8-20020a170902860800b00158c532d8b2mr8650398plo.46.1653033059309; Fri, 20 May 2022 00:50:59 -0700 (PDT) Received: from localhost ([2620:10d:c090:400::4:1761]) by smtp.gmail.com with ESMTPSA id k3-20020aa79983000000b005181133ff2dsm1077631pfh.176.2022.05.20.00.50.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 May 2022 00:50:58 -0700 (PDT) Sender: Tejun Heo Date: Thu, 19 May 2022 21:50:57 -1000 From: Tejun Heo To: Shida Zhang Cc: lizefan.x@bytedance.com, hannes@cmpxchg.org, zhangshida@kylinos.cn, linux-kernel@vger.kernel.org, cgroups@vger.kernel.org Subject: Re: [PATCH v2] cgroup: remove the superfluous judgment Message-ID: References: <20220518013647.1749568-1-zhangshida@kylinos.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220518013647.1749568-1-zhangshida@kylinos.cn> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE 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 Wed, May 18, 2022 at 09:36:47AM +0800, Shida Zhang wrote: > Remove the superfluous judgment since the function is > never called for a root cgroup, as suggested by Tejun. > > Suggested-by: Tejun Heo > Signed-off-by: Shida Zhang Applied to cgroup/for-5.19. Thanks. -- tejun