From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-170.mta1.migadu.com (out-170.mta1.migadu.com [95.215.58.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 204E73DF019 for ; Tue, 7 Jul 2026 10:22:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783419746; cv=none; b=SFe9EX6TyJjX50Nc1N7zHdi97TH+O2fJKTeeO2m8/zi54lvCNyzqxVPEmpZurHv7djWQSYoh4/VDOs/7gx57YWEUr3eBaRNFR6ymMeUkxLrs3C0SJjdtp4UHpLZQOaNEu7NFp5Y8lWwwInV/85+7VjJZMK7XLaRDqE8YFGnr5jc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783419746; c=relaxed/simple; bh=1G07HVMo6Kbko+O7640ojgF/RK7TzOB0t1Dzx2PzN0E=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=hrNmBl9c5pSkbLli8MLgR1cX+p49HEo9P36V5nCBE57G7/5nPwz5neKESy0DWTBkpfh4KGeA2h6JsDRj++y/ZGOFzt6uCJF3VcRhsXTWkRjK1TdXxQ+W5+UPSlMf7zQtxsM2qdXz6YMuspTd+nU04zoCnbhZp/AHjWunG0vOaTk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=Komcgpon; arc=none smtp.client-ip=95.215.58.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="Komcgpon" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1783419743; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=G1KdXVb1VzZ7QBRolc1PdP8ABMe6k87XpLbFlAF9Zwk=; b=KomcgponEWrBPtPFaMg0wv6XLm1DNdjWxZULv/T4z7dZ29RXYN6ffV7qbWd0PSEhNVgoMv xmotmGa5HADYePLZUeS8GPH2I0EXRyW0mPYpeJq1Poeioe21WdqTkPlr4BDclIG87AqvHy Z3Fi8IwzADZgIpaBNPU3tZHoNQ/FNjM= From: Guopeng Zhang To: Tejun Heo , Johannes Weiner , =?UTF-8?q?Michal=20Koutn=C3=BD?= , Jonathan Corbet Cc: Shuah Khan , cgroups@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Guopeng Zhang , Guopeng Zhang Subject: [PATCH 1/3] Docs/admin-guide/cgroup-v2: drop stale misc interface file count Date: Tue, 7 Jul 2026 18:21:46 +0800 Message-ID: <20260707102148.692250-2-guopeng.zhang@linux.dev> In-Reply-To: <20260707102148.692250-1-guopeng.zhang@linux.dev> References: <20260707102148.692250-1-guopeng.zhang@linux.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT From: Guopeng Zhang The Miscellaneous controller documentation states it "provides 3 interface files", but misc_cg_files[] actually registers six (max, current, peak, capacity, events, events.local). Drop the stale count and let the file list that follows speak for itself. Signed-off-by: Guopeng Zhang --- Documentation/admin-guide/cgroup-v2.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/admin-guide/cgroup-v2.rst b/Documentation/admin-guide/cgroup-v2.rst index b0bd591bc4bf..df3fe7a7c6b3 100644 --- a/Documentation/admin-guide/cgroup-v2.rst +++ b/Documentation/admin-guide/cgroup-v2.rst @@ -2968,7 +2968,8 @@ include/linux/misc_cgroup.h. Misc Interface Files ~~~~~~~~~~~~~~~~~~~~ -Miscellaneous controller provides 3 interface files. If two misc resources (res_a and res_b) are registered then: +Miscellaneous controller provides the following interface files. If two misc +resources (res_a and res_b) are registered then: misc.capacity A read-only flat-keyed file shown only in the root cgroup. It shows -- 2.43.0