proc.5: add "wf" to VmFlags in /proc/[pid]/smaps
Subsystems (3)
PATCH 1/1 proc.5: add "wf" to VmFlags in /proc/[pid]/smaps
This patch documents a flag added in the following kernel commit:
commit d2cd9ede6e193dd7d88b6d27399e96229a551b19
Author: Rik van Riel <[email protected]> Date: Wed Sep 6 16:25:15 2017 -0700
mm,fork: introduce MADV_WIPEONFORK
This was already documented in man2/madvise.2 in the commit:
commit c0c4f6c29c494c466f3a2a6273c5b55b76a72927
Author: Rik van Riel <[email protected]> Date: Tue Sep 19 20:32:00 2017 +0200
madvise.2: Document MADV_WIPEONFORK and MADV_KEEPONFORK
--- man5/proc.5 | 1 + 1 file changed, 1 insertion(+)
man5/proc.5 +1 -0
@@ -2020,6 +2020,7 @@ encoded using the following two-letter codes: ht - area uses huge tlb pages nl - non-linear mapping ar - architecture specific flag + wf - wipe on fork dd - do not include area into core dump sd - soft-dirty flag mm - mixed map area
Signature · 1 line
2.27.0.rc0.183.gde8f92d652-goog
Quoted 11 lines · Ian Rogers
This patch documents a flag added in the following kernel commit:
commit
d2cd9ede6e193dd7d88b6d27399e96229a551b19Author: Rik van Riel <[email protected]> Date: Wed Sep 6 16:25:15 2017 -0700mm,fork: introduce
MADV_WIPEONFORKThis was already documented in man2/madvise.2 in the commit:
Quoted 7 lines
commit
c0c4f6c29c494c466f3a2a6273c5b55b76a72927Author: Rik van Riel <[email protected]> Date: Tue Sep 19 20:32:00 2017 +0200madvise.2: Document
MADV_WIPEONFORKandMADV_KEEPONFORKSigned-off-by Ian Rogers <[email protected]>
Doing a quick audit of fs/proc/task_mmu.c having noticed this flag was missing I note:
- "mp" isn't documented, only possible with INTEL_MPX
- "nl" is documented but not present in show_smap_vma_flags
- "um" and "uw" aren't documented
Thanks,
Ian
Quoted 19 lines
--- man5/proc.5 | 1 + 1 file changed, 1 insertion(+)man5/proc.5 +1
-1@@ -2020,6 +2020,7 @@ encoded using the following two-letter codes: ht - area uses huge tlb pages nl - non-linear mapping ar - architecture specific flag + wf - wipe on fork dd - do not include area into core dump sd - soft-dirty flag mm - mixed map area --2.27.0.rc0.183.gde8f92d652-goog
Quoted 18 lines · Ian Rogers
Quoted 17 lines · Ian Rogers
This patch documents a flag added in the following kernel commit:
commit
d2cd9ede6e193dd7d88b6d27399e96229a551b19Author: Rik van Riel <[email protected]> Date: Wed Sep 6 16:25:15 2017 -0700mm,fork: introduce
MADV_WIPEONFORKThis was already documented in man2/madvise.2 in the commit:
commit
c0c4f6c29c494c466f3a2a6273c5b55b76a72927Author: Rik van Riel <[email protected]> Date: Tue Sep 19 20:32:00 2017 +0200madvise.2: Document
MADV_WIPEONFORKandMADV_KEEPONFORK
Quoted 7 lines
Quoted 1 line
Signed-off-by Ian Rogers <[email protected]>Doing a quick audit of
fs/proc/task_mmu.chaving noticed this flag was missing I note:
- "mp" isn't documented, only possible withINTEL_MPX
- "nl" is documented but not present inshow_smap_vma_flags
- "um" and "uw" aren't documented
I took a shot at fixing these:
mp - MPX-specific VMA (x86, since Linux 3.19)
nl - non-linear mapping (removed in Linux 4.0)
um - userfaultfd missing pages tracking (since Linux 4.3)
uw - userfaultfd wprotect pages tracking (since Linux 4.3)
sf - perform synchronous page faults (since Linux 4.15)Thanks,
Michael
Signature · 3 lines
Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/
Quoted 27 lines · Michael Kerrisk (man-pages)
Quoted 18 lines · Ian Rogers
Quoted 17 lines · Ian Rogers
This patch documents a flag added in the following kernel commit:
commit
d2cd9ede6e193dd7d88b6d27399e96229a551b19Author: Rik van Riel <[email protected]> Date: Wed Sep 6 16:25:15 2017 -0700mm,fork: introduce
MADV_WIPEONFORKThis was already documented in man2/madvise.2 in the commit:
commit
c0c4f6c29c494c466f3a2a6273c5b55b76a72927Author: Rik van Riel <[email protected]> Date: Tue Sep 19 20:32:00 2017 +0200madvise.2: Document
MADV_WIPEONFORKandMADV_KEEPONFORKQuoted 7 lines
Quoted 1 line
Signed-off-by Ian Rogers <[email protected]>Doing a quick audit of
fs/proc/task_mmu.chaving noticed this flag was missing I note:
- "mp" isn't documented, only possible withINTEL_MPX
- "nl" is documented but not present inshow_smap_vma_flags
- "um" and "uw" aren't documented
Quoted 4 lines
I took a shot at fixing these:
mp - MPX-specific VMA (x86, since Linux 3.19)
This one is gone. The patch to remove leftovers of MPX is linux-next.
Signature · 1 line
Kirill A. Shutemov
Quoted 29 lines · Kirill A. Shutemov
Quoted 27 lines · Michael Kerrisk (man-pages)
Quoted 25 lines · Ian Rogers
Quoted 11 lines · Ian Rogers
This patch documents a flag added in the following kernel commit:
commit
d2cd9ede6e193dd7d88b6d27399e96229a551b19Author: Rik van Riel <[email protected]> Date: Wed Sep 6 16:25:15 2017 -0700mm,fork: introduce
MADV_WIPEONFORKThis was already documented in man2/madvise.2 in the commit:
Quoted 7 lines
commit
c0c4f6c29c494c466f3a2a6273c5b55b76a72927Author: Rik van Riel <[email protected]> Date: Tue Sep 19 20:32:00 2017 +0200madvise.2: Document
MADV_WIPEONFORKandMADV_KEEPONFORKSigned-off-by Ian Rogers <[email protected]>Doing a quick audit of
fs/proc/task_mmu.chaving noticed this flag was missing I note:
- "mp" isn't documented, only possible withINTEL_MPX
- "nl" is documented but not present inshow_smap_vma_flags
- "um" and "uw" aren't documented
Quoted 6 lines
Quoted 4 lines
I took a shot at fixing these:
mp - MPX-specific VMA (x86, since Linux 3.19)
This one is gone. The patch to remove leftovers of MPX is linux-next.
Thanks, Kirill. I'll simply remove that entry.
Cheers,
Michael
Signature · 3 lines
Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/
Hello Ian,
Quoted 8 lines · Ian Rogers
This patch documents a flag added in the following kernel commit:
commit
d2cd9ede6e193dd7d88b6d27399e96229a551b19Author: Rik van Riel <[email protected]> Date: Wed Sep 6 16:25:15 2017 -0700mm,fork: introduce
MADV_WIPEONFORK
Quoted 7 lines
This was already documented in man2/madvise.2 in the commit:
commit
c0c4f6c29c494c466f3a2a6273c5b55b76a72927Author: Rik van Riel <[email protected]> Date: Tue Sep 19 20:32:00 2017 +0200madvise.2: Document
MADV_WIPEONFORKandMADV_KEEPONFORK
Thanks. Patch applied.
Cheers,
Michael
Quoted 18 lines
Signed-off-by Ian Rogers <[email protected]>--- man5/proc.5 | 1 + 1 file changed, 1 insertion(+)man5/proc.5 +1
-0@@ -2020,6 +2020,7 @@ encoded using the following two-letter codes: ht - area uses huge tlb pages nl - non-linear mapping ar - architecture specific flag + wf - wipe on fork dd - do not include area into core dump sd - soft-dirty flag mm - mixed map area
Signature · 3 lines
Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/