diff mbox series

docs: filesystem: Update smaps vm flag list to latest

Message ID 20210212225533.12589-1-peterx@redhat.com (mailing list archive)
State New, archived
Headers show
Series docs: filesystem: Update smaps vm flag list to latest | expand

Commit Message

Peter Xu Feb. 12, 2021, 10:55 p.m. UTC
We've missed a few documentation when adding new VM_* flags.  Add the missing
pieces so they'll be in sync now.

Signed-off-by: Peter Xu <peterx@redhat.com>
---
 Documentation/filesystems/proc.rst | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Jonathan Corbet March 1, 2021, 10:17 p.m. UTC | #1
Peter Xu <peterx@redhat.com> writes:

> We've missed a few documentation when adding new VM_* flags.  Add the missing
> pieces so they'll be in sync now.
>
> Signed-off-by: Peter Xu <peterx@redhat.com>
> ---
>  Documentation/filesystems/proc.rst | 5 +++++
>  1 file changed, 5 insertions(+)

So this patch doesn't apply; what version of the kernel did you generate
it against?  Could you redo against current kernels, please?

Thanks,

jon
Peter Xu March 2, 2021, 12:06 a.m. UTC | #2
On Mon, Mar 01, 2021 at 03:17:13PM -0700, Jonathan Corbet wrote:
> Peter Xu <peterx@redhat.com> writes:
> 
> > We've missed a few documentation when adding new VM_* flags.  Add the missing
> > pieces so they'll be in sync now.
> >
> > Signed-off-by: Peter Xu <peterx@redhat.com>
> > ---
> >  Documentation/filesystems/proc.rst | 5 +++++
> >  1 file changed, 5 insertions(+)
> 
> So this patch doesn't apply; what version of the kernel did you generate
> it against?  Could you redo against current kernels, please?

Sure.  "mt" just got added, hence conflicted, but the rest are still missing.
Reposting.  Thanks,
diff mbox series

Patch

diff --git a/Documentation/filesystems/proc.rst b/Documentation/filesystems/proc.rst
index 533c79e8d2cd..3296f940111c 100644
--- a/Documentation/filesystems/proc.rst
+++ b/Documentation/filesystems/proc.rst
@@ -538,7 +538,9 @@  encoded manner. The codes are the following:
     ac    area is accountable
     nr    swap space is not reserved for the area
     ht    area uses huge tlb pages
+    sf    synchronous page fault
     ar    architecture specific flag
+    wf    wipe on fork
     dd    do not include area into core dump
     sd    soft dirty flag
     mm    mixed map area
@@ -546,6 +548,9 @@  encoded manner. The codes are the following:
     nh    no huge page advise flag
     mg    mergable advise flag
     bt    arm64 BTI guarded page
+    mt    arm64 MTE tagged memory
+    um    userfaultfd missing tracking
+    uw    userfaultfd wr-protect tracking
     ==    =======================================
 
 Note that there is no guarantee that every flag and associated mnemonic will