aboutsummaryrefslogtreecommitdiffstats
path: root/man5/proc.5
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@gmail.com>2016-09-10 11:19:06 +0900
committerMichael Kerrisk <mtk.manpages@gmail.com>2016-09-12 20:38:44 +0100
commitdfdf642ebba0e811bdba23fb44265f3ecefb868d (patch)
treebbf21067b573cd9e3f62f54d7fa098957c5b6efd /man5/proc.5
parentaf0cb4bd5412b361c1054acaff8044a5d56fa362 (diff)
downloadman-pages-dfdf642ebba0e811bdba23fb44265f3ecefb868d.tar.gz
proc.5: Add description of CLEAR_REFS_MM_HIWATER_RSS
The Linux kernel commit 695f05593693 ("fs/proc/task_mmu.c: add user-space support for resetting mm->hiwater_rss (peak RSS)") added a way to reset peak RSS of a process but missed to update manpage. Cc: Petr Cermak <petrcermak@chromium.org> Acked-by: Petr Cermak <petrcermak@chromium.org> Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Diffstat (limited to 'man5/proc.5')
-rw-r--r--man5/proc.57
1 files changed, 6 insertions, 1 deletions
diff --git a/man5/proc.5 b/man5/proc.5
index 47347337b8..398e7c0159 100644
--- a/man5/proc.5
+++ b/man5/proc.5
@@ -340,7 +340,7 @@ process during the measured interval.
If one is interested only in inspecting the selected mapping types,
then the value 2 or 3 can be used instead of 1.
-A further value can be written to affect a different bit:
+Further values can be written to affect different properties:
.RS
.TP
4 (since Linux 3.11)
@@ -352,6 +352,11 @@ by the check-point restore system to discover which pages of a process
have been dirtied since the file
.IR /proc/[pid]/clear_refs
was written to.
+.TP
+5 (since Linux 4.0)
+.\" Internally: CLEAR_REFS_MM_HIWATER_RSS
+Reset the peak resident set size ("high water mark") to the process'
+current value.
.RE
.IP
Writing any value to