proc.5: Add description of CLEAR_REFS_MM_HIWATER_RSS
PATCH v3 1/1 proc.5: Add description of CLEAR_REFS_MM_HIWATER_RSS
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.
--- man5/proc.5 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
man5/proc.5 +6 -1
@@ -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: +Further values 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
Signature · 6 lines
2.9.3 -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
PATCH 1/1 proc.5: Add description of CLEAR_REFS_MM_HIWATER_RSS
In reply to a message not in the archiveThe 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.
--- man5/proc.5 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
man5/proc.5 +6 -1
@@ -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: +Further values 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
Signature · 6 lines
2.9.3 -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 39 lines · Namhyung Kim
The Linux kernel commit
695f05593693("fs/proc/task_mmu.c: add user-space support for resettingmm->hiwater_rss(peak RSS)") added a way to reset peak RSS of a process but missed to update manpage.Cc Petr Cermak <[email protected]>Acked-by Petr Cermak <[email protected]>Signed-off-by Namhyung Kim <[email protected]>--- man5/proc.5 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)man5/proc.5 +6
-1@@ -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: +Further values 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 toSignature · 1 line
2.9.3
Thanks a lot for the modifications.
One more thing I've just realized: I believe that the correct spelling is "process's" because it's a singular noun.
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 3 lines · Namhyung Kim
The Linux kernel commit
695f05593693("fs/proc/task_mmu.c: add user-space support for resettingmm->hiwater_rss(peak RSS)") added a way to reset peak RSS of a process but missed to update manpage.
Thanks, Namhyung Kim. I have applied this patch.
Cheers,
Michael
Quoted 34 lines
Cc Petr Cermak <[email protected]>Acked-by Petr Cermak <[email protected]>Signed-off-by Namhyung Kim <[email protected]>--- man5/proc.5 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)man5/proc.5 +6
-1@@ -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: +Further values 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
Signature · 7 lines
Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/ -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 43 lines · Petr Cermak
Quoted 39 lines · Namhyung Kim
The Linux kernel commit
695f05593693("fs/proc/task_mmu.c: add user-space support for resettingmm->hiwater_rss(peak RSS)") added a way to reset peak RSS of a process but missed to update manpage.Cc Petr Cermak <[email protected]>Acked-by Petr Cermak <[email protected]>Signed-off-by Namhyung Kim <[email protected]>--- man5/proc.5 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)man5/proc.5 +6
-1@@ -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: +Further values 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 toSignature · 1 line
2.9.3Thanks a lot for the modifications.
Quoted 2 lines
One more thing I've just realized: I believe that the correct spelling is "process's" because it's a singular noun.
Yes, that's correct. I've fixed this.
Cheers,
Michael
Signature · 7 lines
Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/ -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi,
Quoted 44 lines · Michael Kerrisk (man-pages)
Quoted 43 lines · Petr Cermak
Quoted 37 lines · Namhyung Kim
The Linux kernel commit
695f05593693("fs/proc/task_mmu.c: add user-space support for resettingmm->hiwater_rss(peak RSS)") added a way to reset peak RSS of a process but missed to update manpage.Cc Petr Cermak <[email protected]>Acked-by Petr Cermak <[email protected]>Signed-off-by Namhyung Kim <[email protected]>--- man5/proc.5 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)man5/proc.5 +6
-2@@ -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: +Further values 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 --Quoted 2 lines
2.9.3
Thanks a lot for the modifications.
Quoted 4 lines
Quoted 2 lines
One more thing I've just realized: I believe that the correct spelling is "process's" because it's a singular noun.
Yes, that's correct. I've fixed this.
I'm not a native English speaker so I likely to be wrong. But IIRC I learned it when I was in the school, it should omit the last 's' when the word already ends with 's'. Anyway I'm ok with the change and thanks for correcting the expression.
Thanks,
Namhyung
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 51 lines · Namhyung Kim
Hi,
Quoted 47 lines · Michael Kerrisk (man-pages)
Quoted 45 lines · Petr Cermak
Quoted 37 lines · Namhyung Kim
The Linux kernel commit
695f05593693("fs/proc/task_mmu.c: add user-space support for resettingmm->hiwater_rss(peak RSS)") added a way to reset peak RSS of a process but missed to update manpage.Cc Petr Cermak <[email protected]>Acked-by Petr Cermak <[email protected]>Signed-off-by Namhyung Kim <[email protected]>--- man5/proc.5 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)man5/proc.5 +6
-2@@ -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: +Further values 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 --Quoted 2 lines
2.9.3
Thanks a lot for the modifications.
One more thing I've just realized: I believe that the correct spelling is "process's" because it's a singular noun.
Quoted 6 lines
Quoted 1 line
Yes, that's correct. I've fixed this.
I'm not a native English speaker so I likely to be wrong. But IIRC I learned it when I was in the school, it should omit the last 's' when the word already ends with 's'. Anyway I'm ok with the change and thanks for correcting the expression.
The rule is more complicated than that and tricky enough that even native speakers have trouble with it. I have to go check the details myself sometimes. As I understand it, "process's" is correct.
Cheers,
Michael
Signature · 7 lines
Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/ -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html