From: xu xin <xu.xin16@xxxxxxxxxx> This updates ksm_stat description in cgroup-v2.rst. Signed-off-by: xu xin <xu.xin16@xxxxxxxxxx> --- Documentation/admin-guide/cgroup-v2.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Documentation/admin-guide/cgroup-v2.rst b/Documentation/admin-guide/cgroup-v2.rst index 8fb14ffab7d1..acab4c9c6e25 100644 --- a/Documentation/admin-guide/cgroup-v2.rst +++ b/Documentation/admin-guide/cgroup-v2.rst @@ -1718,6 +1718,18 @@ The following nested keys are defined. The entries can refer to the memory.stat. + memory.ksm_stat + A read-only nested-keyed file. + + The file can be used to observe the ksm merging status of the + processes within an memory cgroup. There are four items + including "ksm_rmap_items", "ksm_zero_pages", "ksm_merging_pages" + and "ksm_profit". + + See + :ref:`Documentation/admin-guide/cgroup-v1/memory.rst ksm_stat <memcg_ksm_stat>` + for details. + memory.swap.current A read-only single value file which exists on non-root cgroups. -- 2.15.2