mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 12:44:03 +02:00
docs: cgroup-v2: mark memory.pressure and io.pressure as read-write
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> Signed-off-by: Tejun Heo <tj@kernel.org>
This commit is contained in:
parent
d56281fefb
commit
3864c95587
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user