From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E89EAC433E0 for ; Thu, 14 Jan 2021 13:14:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id AE82E23A57 for ; Thu, 14 Jan 2021 13:14:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728784AbhANNNr (ORCPT ); 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--