Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(226)

Unified Diff: Documentation/filesystems/proc.txt

Issue 801393003: task_mmu: Reduce excessive indentation in clear_refs_write Base URL: https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux.git@master
Patch Set: Second patch Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | fs/proc/task_mmu.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | fs/proc/task_mmu.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698