Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp253794pxb; Thu, 14 Jan 2021 05:15:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJycmeyhCZSFRt/OwauqvCjojpCMqOCJmWuULSxdNKndbs3qe+iJI/vd7rnM15dLM3xNPKBE X-Received: by 2002:a50:fc13:: with SMTP id i19mr5907242edr.281.1610630144681; Thu, 14 Jan 2021 05:15:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610630144; cv=none; d=google.com; s=arc-20160816; b=lveaF4w2P0Hgu2li4gp1obh/EEHQuf+0227lv5LbfpQNPteIm0Wwdsk5sHLhm0FiPE ow6PDGXq8DtPiLA7/Jn4Ga5gwFZcTMfYIem733c6wV/lTk7xjHV4p1qVa8souMQeSnvN bIEtoBVNMQkVSlr2o/X/3Jeube8hxC9Nah/QHQhuPUNIXaFwob1pd+KzJKUrd6ckkI7j mk7v2cBOxnK1MRx3JRqNIK5WxQ41Ja6TNKx+QcbHlGdOGBIb++rzzRtAWMBll63iWCfr i68pYzywgMaQmNlCuQ4qveOHtf6bH+4djz9yxzXRMFZzIFZVevO+FNKOMrT38VUks3Dl ATJw== 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:dkim-signature; bh=GF0WE0Qb6cVvTF2NflEBTiiInZOom4YMvYdVAC+0ETs=; b=BQ/6njeUhRgkfN/qpF40FLsnWhHK/33ZGs28hDhsqrz/Vo+w3+s1o98sEOI/qr1nKw 3UqoyR+w9MOBX0gTg7LdR1UYUHXRpR4rfRwJ++pdE48OC1YgxPgTJNkhHIFFa2xE9isU PEz55bTpkTeT00GlPmkkD/VBviZFn0A2Siyk//nuyPZhiLJEfrThQOGEi+3k0UZrSh1K Fm4GUFN+zX9WjsZuYEGPNjmWhjJMiApUfTRK8s6C3OFUVCqODOe7nRMjUX3yO+gTsLdn uHRoBAu/7hwgh4s1WNVS5aeG1aiCClDO9FIgbkKJkJJOYVAsqbJQ/+FRv+bO3SJ3WvSf /YTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=ppy0OqvZ; 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=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=suse.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f11si2518089edd.393.2021.01.14.05.15.19; Thu, 14 Jan 2021 05:15:44 -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; dkim=pass header.i=@suse.com header.s=susede1 header.b=ppy0OqvZ; 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=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728769AbhANNNr (ORCPT + 99 others); Thu, 14 Jan 2021 08:13:47 -0500 Received: from mx2.suse.de ([195.135.220.15]:37682 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726670AbhANNNq (ORCPT ); Thu, 14 Jan 2021 08:13:46 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1610629980; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=GF0WE0Qb6cVvTF2NflEBTiiInZOom4YMvYdVAC+0ETs=; b=ppy0OqvZZFsx46UyvH/Y+mY7fTQiwWlcKuhkEbbFcZdQZtFZ5RhA3BKOnX788tNIk9oJgv AXW70nFIyE03LmllPcvvqAkEoA+3QfjdaTKUed7321bX5vEMuaqx/GRyvuBHLsXMSm4bwu jcSogLSuNsqDLDDJoCVz4AdTFsc9MmI= Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id F1D0AB7A4; Thu, 14 Jan 2021 13:12:59 +0000 (UTC) Date: Thu, 14 Jan 2021 14:12:58 +0100 From: Michal =?iso-8859-1?Q?Koutn=FD?= To: Chen Zhou Cc: tj@kernel.org, lizefan.x@bytedance.com, hannes@cmpxchg.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] cgroup-v1: add disabled controller check in cgroup1_parse_param() Message-ID: References: <20201218061755.121205-1-chenzhou10@huawei.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="QyWpP+FhytSknTGW" Content-Disposition: inline In-Reply-To: <20201218061755.121205-1-chenzhou10@huawei.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --QyWpP+FhytSknTGW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello Chen. On Fri, Dec 18, 2020 at 02:17:55PM +0800, Chen Zhou wrote: > When mounting a cgroup hierarchy with disabled controller in cgroup v1, > all available controllers will be attached. Not sure if I understand the situation -- have you observed a v1 controller attached to a hierarchy while specifying cgroup_no_v1= kernel cmdline arg? AFAICS, the disabled controllers are honored thanks to check_cgroupfs_options(). Michal --QyWpP+FhytSknTGW Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEEoQaUCWq8F2Id1tNia1+riC5qSgFAmAAQ1UACgkQia1+riC5 qSjfmhAAjoBfZd9q9AjcZUbdDE79xfD2+0B+c03VStMia9Y4uEBWHMUAVLZMK9Vt BoOCVFB6V2SdjkB1gV3gxPfShWHIt9iIz9GVqSuGgXBXtt0Lut8nuw/t/Z2mP4pw rMHXKR9aOWNQU3dWKIttXMp7TZ2EMLJ/HW73Jth867zXZd8Wc+lYEDrfsbQT1WCI fZHr/dJSUb9uEFo7Wr1IpNsR3owLNcZ+0POnPmeUjUleClrwe0C8CAp1ipTcVx+2 0tA5Yqy0uSHpbrRiuhI2lseHvwOdc7SG1oxRIBe/M4smN/P12GeN6YD6k0V3tRgc 1PZVpAjsBoHvJl+lVIKWN+X/Qpjh/GlSwHsufZeoKGtR6NAKNEcU39/yACRJBGBx M3osYIRcuTT+D822Yq1Rn8wQ9juolImzwWaRAJzlIXNh4PZfJD3ywI0AoO6I69md 3aokm5YEycI76Y75TNxKbfkr51EmprqNNOgz71qslj2Y7robC7h0Mf4BvRCu/1ns M2V0U4bZQy872sfoPu/k+13ki3Bc9cukowl31w7jrhvVAvuxo5FqgDZzNzRwGYRE hzKNW0Ed6hX6RL1ZHvxsClHgyh49wgMEIbAJHblkmoIgFGQrBCHe03uoN+DN18ke x0LQCS6h5y/WR7STRS1CHM1NPJPQvqpDu92GREfZCXNsVIgK3vc= =l74T -----END PGP SIGNATURE----- --QyWpP+FhytSknTGW--