The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH] docs: cgroup-v2: mark memory.pressure and io.pressure as read-write
@ 2026-07-24  2:05 Tao Cui
  0 siblings, 0 replies; only message in thread
From: Tao Cui @ 2026-07-24  2:05 UTC (permalink / raw)
  To: Tejun Heo, cgroups
  Cc: Johannes Weiner, Michal Koutný, Jonathan Corbet, Shuah Khan,
	linux-doc, linux-kernel, Tao Cui, cui.tao

From: Tao Cui <cuitao@kylinos.cn>

The cgroup-v2 documentation describes memory.pressure and io.pressure as
"read-only nested-keyed file", but both files accept trigger writes
(cgroup_memory_pressure_write / cgroup_io_pressure_write) and are therefore
read-write. cpu.pressure and irq.pressure are already documented as
read-write, so this also resolves an internal inconsistency.

Signed-off-by: Tao Cui <cuitao@kylinos.cn>
---
 Documentation/admin-guide/cgroup-v2.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/admin-guide/cgroup-v2.rst b/Documentation/admin-guide/cgroup-v2.rst
index f3a3e26854c2..c08ae18afea8 100644
--- a/Documentation/admin-guide/cgroup-v2.rst
+++ b/Documentation/admin-guide/cgroup-v2.rst
@@ -1930,7 +1930,7 @@ The following nested keys are defined.
 	is allowed unless memory.swap.max is set to 0.
 
   memory.pressure
-	A read-only nested-keyed file.
+	A read-write nested-keyed file.
 
 	Shows pressure stall information for memory. See
 	:ref:`Documentation/accounting/psi.rst <psi>` for details.
@@ -2190,7 +2190,7 @@ IO Interface Files
 	  8:16 rbps=2097152 wbps=max riops=max wiops=max
 
   io.pressure
-	A read-only nested-keyed file.
+	A read-write nested-keyed file.
 
 	Shows pressure stall information for IO. See
 	:ref:`Documentation/accounting/psi.rst <psi>` for details.
-- 
2.43.0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-24  2:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-24  2:05 [PATCH] docs: cgroup-v2: mark memory.pressure and io.pressure as read-write Tao Cui

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox