Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp282460pxb; Fri, 15 Jan 2021 03:13:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJwg+X2BF9HWYloklx7HIVO4TkrPLU6I3qiHr75hdx/jUy+TqXCOR9nqC/ZxCTP5IojqtXaU X-Received: by 2002:a17:907:271c:: with SMTP id w28mr8542100ejk.140.1610709202944; Fri, 15 Jan 2021 03:13:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610709202; cv=none; d=google.com; s=arc-20160816; b=b2/ghAaDKsfDgPnMOl8kzc5T3GOWM4DC/FNL9f9/Zk1eJsfVDbKF9EKDH+i30Qq+In bs6uf+S2Man7LJLkiy7RGyezLPL+YXrisHFsC9LOh46jwz4Q1q9af/7MxsDasClWWyxF hkigeScqRrizc+TqMtoU9f3vUbMEw+hhDSY7p0/6z5IeM5hGEE05abWRJbuoEkdn4aTr 6ZgytJgGskY3J1utf1mcS35t00mos5AhZ5odM3FAagMlAS7C0fuUsBn6bR0TkI1aiG6G 8+pLvMAnjy899RUi09T8KkS2PhlnByd7fPan8B9yR/OA4hcHX4aN0Lg3yzNd62K0E3Rv ZR0A== 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:from:cc:references:to :subject; bh=zK0bPL3IGgCHKIIjlfKeOqFEyhKqhrSw6mF/oSEuTUE=; b=KiOlN97g69VxIg9xURJzeDZML/RX4NMMRL1tqK4es+NSWT7c1snyzQzo0AFDcknWqI nMFJUOrVq4GIiVAkXs6kYr2MYBencA8krrLSXpVFEJPnm4VlliVTVeNE17+CIsvgxNP0 ubIXmPlayyYggarwlHsxY1Lu/XEqsx2YXl8GmrqqatldpXDXDfxBAKRwxwuMelm9c09+ Qgs3tl+K6wZ09aVjWDihE0TAnm9gUunYQvpfxJNu3D4sdPS9CawQrVjfnKsaJxO3wLZZ ldJ4ED3n76eMjJGMrfJPiTLxg9JloYJmVccCG8v5UbRUWewkN/245SWft3aSZXKCdCrt UK9g== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l6si3749852edq.274.2021.01.15.03.12.58; Fri, 15 Jan 2021 03:13:22 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728068AbhAOLKL (ORCPT + 99 others); Fri, 15 Jan 2021 06:10:11 -0500 Received: from szxga05-in.huawei.com ([45.249.212.191]:11545 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727842AbhAOLKK (ORCPT ); Fri, 15 Jan 2021 06:10:10 -0500 Received: from DGGEMS402-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4DHJLw1C7KzMK1l; Fri, 15 Jan 2021 19:08:08 +0800 (CST) Received: from [10.174.176.61] (10.174.176.61) by DGGEMS402-HUB.china.huawei.com (10.3.19.202) with Microsoft SMTP Server id 14.3.498.0; Fri, 15 Jan 2021 19:09:23 +0800 Subject: Re: [PATCH v2] cgroup-v1: add disabled controller check in cgroup1_parse_param() To: =?UTF-8?Q?Michal_Koutn=c3=bd?= References: <20201218061755.121205-1-chenzhou10@huawei.com> <7804658e-7644-8edb-5ca8-0c97389c8c62@huawei.com> CC: , , , , From: chenzhou Message-ID: <4abe04f8-e7a9-ab2e-f5d1-bb569e2dc157@huawei.com> Date: Fri, 15 Jan 2021 19:09:23 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.174.176.61] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Michal, On 2021/1/15 18:08, Michal Koutn? wrote: > On Fri, Jan 15, 2021 at 09:55:43AM +0800, chenzhou wrote: >> Yeah, this will select all enabled controllers, but which doesn't the behavior we want. > I see what the issue is now. > >> See above. Just the mount behavior isn't what we what. > I agree this a bug and your I find your approach correct > > Reviewed-by: Michal Koutn? I have sent the v3, which updates the description and add Fixes. [v3]: https://lore.kernel.org/patchwork/patch/1365535/ If it is ok for you to add Reviewed-by there. Thanks, Chen Zhou > >> The behavior was changed since commit f5dfb5315d34 ("cgroup: take >> options parsing into ->parse_monolithic()"), will add this as Fixes. > Thanks. > > Michal