Index: Documentation/filesystems/proc.txt |
diff --git a/Documentation/filesystems/proc.txt b/Documentation/filesystems/proc.txt |
index aae9dd13c91f5d34a70d609daaad94e3425a455d..eab62e37c920bde988b63adcd7859ec0cec23ded 100644 |
--- a/Documentation/filesystems/proc.txt |
+++ b/Documentation/filesystems/proc.txt |
@@ -488,6 +488,9 @@ To clear the bits for the file mapped pages associated with the process |
To clear the soft-dirty bit |
> echo 4 > /proc/PID/clear_refs |
+To reset the peak resident set size ("high water mark") |
+ > echo 5 > /proc/PID/clear_refs |
+ |
Any other value written to /proc/PID/clear_refs will have no effect. |
The /proc/pid/pagemap gives the PFN, which can be used to find the pageflags |