Petr Cermak 695f055936 fs/proc/task_mmu.c: add user-space support for resetting mm->hiwater_rss (peak RSS)
Peak resident size of a process can be reset back to the process's
current rss value by writing "5" to /proc/pid/clear_refs.  The driving
use-case for this would be getting the peak RSS value, which can be
retrieved from the VmHWM field in /proc/pid/status, per benchmark
iteration or test scenario.

[akpm@linux-foundation.org: clarify behaviour in documentation]
Signed-off-by: Petr Cermak <petrcermak@chromium.org>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Primiano Tucci <primiano@chromium.org>
Cc: Petr Cermak <petrcermak@chromium.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2015-02-12 18:54:12 -08:00
..
2014-12-29 15:28:16 -07:00
2014-10-09 22:26:02 -04:00
2015-02-12 09:16:56 -08:00
2015-02-11 13:03:11 -08:00
2014-08-25 03:28:09 -05:00
2014-11-20 11:08:55 +01:00
2014-12-10 17:41:10 -08:00
2015-02-11 13:03:11 -08:00
2014-06-11 08:35:34 -07:00
2015-02-11 13:03:11 -08:00
2014-06-19 17:45:14 -07:00
2015-02-11 18:15:38 -08:00
2014-12-08 09:07:11 -05:00
2014-11-21 19:48:50 +05:30
2014-09-23 23:44:16 -07:00