diff options
| author | Petr Cermak <[email protected]> | 2015-02-12 23:01:00 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2015-02-13 02:54:12 +0000 |
| commit | 695f055936938c674473ea071ca7359a863551e7 (patch) | |
| tree | 8975abce255f8d638fa1291beb62803e2d611004 /fs/proc/array.c | |
| parent | arch/frv/mm/extable.c: remove unused function (diff) | |
| download | kernel-695f055936938c674473ea071ca7359a863551e7.tar.gz kernel-695f055936938c674473ea071ca7359a863551e7.zip | |
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.
[[email protected]: clarify behaviour in documentation]
Signed-off-by: Petr Cermak <[email protected]>
Cc: Bjorn Helgaas <[email protected]>
Cc: Primiano Tucci <[email protected]>
Cc: Petr Cermak <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
