Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp1056274pxb; Thu, 9 Sep 2021 19:17:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzlRpyjBqZP/6AyrXgkubJJHadis9jsucnxVXn1joIGx4HCa45ikhbpg0xF5Kp3r2Aw9SmK X-Received: by 2002:a50:bb0f:: with SMTP id y15mr6280163ede.159.1631240228189; Thu, 09 Sep 2021 19:17:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631240228; cv=none; d=google.com; s=arc-20160816; b=nXKxC7W3T4AKy8PRuemp2PBD2C5e8qbVdFPUcLxudwua0CsIn13ibXANMXdxGTNbCG 8dcBfwxOzR5JkXjg8TnEmSI4uBjnaWqnwYqWtHDttvPl0KAuoswVhKfVHBf5Jpihg47B gSnaMJLXnkJYuYW44jIC3xURYvwuo5cbCjxp/8QkPeliVWtUOiz6GhsoF125wS7ttaQQ m3mDgnPpwEULEfkIkSqciypb+c0Tvdj9EsD0o6z7IPIZrkqqujD11isQRd6gf4mrb2Wg Ht1bzGQyjj+Z7kXs0+2BZP4j1zHkEIvnh2NpKf3RVxsDdUG2oSw1WGgu25AwXZHze6V0 Ho/A== 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 :mime-version:user-agent:date:message-id:references:cc:to:subject :from; bh=VPR7ech4+VGsz53tZxk5ScUiWoix6fwM8zbVfUXzwMw=; b=lVl3fR7LHtVtHEe37R905WXYK1XDU3hOZp7yLcM3Nja1ylAb2k88/7n6jkp7HkaiFf 6YaGpT07atMkWIUMZo819PZnG3EpQR5WQ54QCzrKm4APp7pNtwaJ2wOltw+cQvBzPYxg aBFHpJaxCLG7bWVER8PQjqJqQY7i1c61I6IH8im7GYW8iby88JRBBkpguIBBP8m6K5Bj t0jeI2WpzgfKuC/sVv/FDIvBzfJ5zlNaifp5nZ1qLT/pGUJTBcq/qj6A2sBvcP/fUWZ3 9zW/7JB+kPdPGBgHW2l1ZsoDKiWD3cM1VCWEVFtAaZ70AEuJE9d/NRI68VjJ/YpeRaWd Rb7A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 25si4319879ejh.607.2021.09.09.19.16.44; Thu, 09 Sep 2021 19:17:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229697AbhIJCQQ (ORCPT + 99 others); Thu, 9 Sep 2021 22:16:16 -0400 Received: from out30-45.freemail.mail.aliyun.com ([115.124.30.45]:44565 "EHLO out30-45.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229524AbhIJCQP (ORCPT ); Thu, 9 Sep 2021 22:16:15 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R121e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04395;MF=escape@linux.alibaba.com;NM=1;PH=DS;RN=11;SR=0;TI=SMTPD_---0Unqfv0i_1631240102; Received: from B-W5MSML85-1937.local(mailfrom:escape@linux.alibaba.com fp:SMTPD_---0Unqfv0i_1631240102) by smtp.aliyun-inc.com(127.0.0.1); Fri, 10 Sep 2021 10:15:03 +0800 From: "taoyi.ty" Subject: Re: [RFC PATCH 2/2] support cgroup pool in v1 To: Greg KH Cc: tj@kernel.org, lizefan.x@bytedance.com, hannes@cmpxchg.org, mcgrof@kernel.org, keescook@chromium.org, yzaikin@google.com, linux-kernel@vger.kernel.org, cgroups@vger.kernel.org, linux-fsdevel@vger.kernel.org, shanpeic@linux.alibaba.com References: <03e2b37678c9b2aef4f5dee303b3fb87a565d56b.1631102579.git.escape@linux.alibaba.com> Message-ID: Date: Fri, 10 Sep 2021 10:15:02 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021/9/8 下午8:35, Greg KH wrote: > I thought cgroup v1 was "obsolete" and not getting new features added to > it. What is wrong with just using cgroups 2 instead if you have a > problem with the v1 interface? > > There are two reasons for developing based on cgroup v1: 1. In the Internet scenario, a large number of services are still using cgroup v1, cgroup v2 has not yet been popularized. 2. The mechanism of cgroup pool refers to cgroup1_rename, but for some reasons, a similar rename mechanism is not implemented on cgroup v2, and I don't know the thoughts behind this.