From patchwork Sat Jun 17 07:48:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Miaohe Lin X-Patchwork-Id: 109435 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp1853911vqr; Sat, 17 Jun 2023 01:33:29 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5XcAL7+u7yDEZL3oX77pymQTQR/I7SrfAkH+s8MyrerxlPbpKDLRf08txN8WsWFOZEwz5l X-Received: by 2002:ac8:5a15:0:b0:3f6:bd82:c01b with SMTP id n21-20020ac85a15000000b003f6bd82c01bmr5693473qta.14.1686990809016; Sat, 17 Jun 2023 01:33:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686990808; cv=none; d=google.com; s=arc-20160816; b=gU9jF+ID2ncJNpq7Av7+s4pPKCDwdf7+ZCi3AQjHyaevPSBVYw7/AnAMw/FB+mlHZF XmQn9hQM7gT7XeYdF8xmB9yEP7crJlO6oy/S8GM569xzIEHbrb2bcQTmJrJafqQktLje r4vB0UPRwc8JMAEng1eVrosGmMBG8wXaMpvMrj/yBDDyB/XBV/rTfwBBkrTd9SRkmRxW 5kcfo4AaSaijz3kEKIwKtFcZrA0tN2tC84c1eBLwQp0gOUeT+zBHC+O0ANmAp1g3vIE+ mMJFYJwvAd5XRvg6l4+0srU6vUuwY6vBqqNq6gWzTlHu+eqdEVleRTzUyT/fkdpEvsd/ CvYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=QZMpBGhCx4Ei1vpaqeOwnELNRusxTdhDV2qnUUcAUVk=; b=DWvBhq8ceosj9e3a5CmlpOI2bqScGmF/gmvy6r3E0CivwDmvjKpL//XQGPgMk0WsqF HUj80bXormeOgjwPrQnzj52oEjnn/KhZe63c3h8XIbR4O2IOKzrYc2ACC/GTPxIOX0Zp 4z2x30XUVW7JRGaWI7QuyWKLLwwJBxiqu1u2YbMoLVr0Vcb+FMTZlU/yozNb5fRNe0d/ FzVcLNvSCc+UC/LgKD+mPapqNbtMHFF21qpyV+QizpVwASxloAGuUpybiGZIsBWxbDbJ rTmxw1hxLGoG5CPzNEmPXRraWaZho8GfH5LlNVhTwIL0zm+1N3I+MOnN/j+zo/RmqiMt SZEg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z16-20020a63b910000000b0052c9458bc03si16877025pge.278.2023.06.17.01.33.13; Sat, 17 Jun 2023 01:33:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234015AbjFQHsz (ORCPT + 99 others); Sat, 17 Jun 2023 03:48:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231929AbjFQHsl (ORCPT ); Sat, 17 Jun 2023 03:48:41 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A2081706; Sat, 17 Jun 2023 00:48:40 -0700 (PDT) Received: from canpemm500002.china.huawei.com (unknown [172.30.72.56]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4Qjp6V5TYHzTlBm; Sat, 17 Jun 2023 15:48:02 +0800 (CST) Received: from huawei.com (10.175.104.170) by canpemm500002.china.huawei.com (7.192.104.244) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Sat, 17 Jun 2023 15:48:37 +0800 From: Miaohe Lin To: , , CC: , , Subject: [PATCH] cgroup: remove obsolete comment on cgroup_on_dfl() Date: Sat, 17 Jun 2023 15:48:09 +0800 Message-ID: <20230617074809.1929778-1-linmiaohe@huawei.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 X-Originating-IP: [10.175.104.170] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To canpemm500002.china.huawei.com (7.192.104.244) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768938074305494253?= X-GMAIL-MSGID: =?utf-8?q?1768938074305494253?= The debug feature is supported since commit 8cc38fa7fa31 ("cgroup: make debug an implicit controller on cgroup2"), update corresponding comment. Signed-off-by: Miaohe Lin --- kernel/cgroup/cgroup.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/kernel/cgroup/cgroup.c b/kernel/cgroup/cgroup.c index cd497b90e11a..bfe3cd8ccf36 100644 --- a/kernel/cgroup/cgroup.c +++ b/kernel/cgroup/cgroup.c @@ -313,8 +313,6 @@ bool cgroup_ssid_enabled(int ssid) * masks of ancestors. * * - blkcg: blk-throttle becomes properly hierarchical. - * - * - debug: disallowed on the default hierarchy. */ bool cgroup_on_dfl(const struct cgroup *cgrp) {