Re: [PATCH v2] proc.5: Add description of CLEAR_REFS_MM_HIWATER_RSS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Sep 09, 2016 at 03:03:13PM +0900, Namhyung Kim wrote:
> 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@xxxxxxxxxxxx>
> Signed-off-by: Namhyung Kim <namhyung@xxxxxxxxx>
> ---
>  man5/proc.5 | 7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)
> 
> diff --git a/man5/proc.5 b/man5/proc.5
> index 14588fe..cf32e0f 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:
> +A further value 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
> -- 
> 2.9.3

Please also change "A further value" to "Further values" since there are
now two (CLEAR_REFS_SOFT_DIRTY (4) and CLEAR_REFS_MM_HIWATER_RSS (5)).
Thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux