Re: [PATCH] docs: proc: update VmFlags documentation in smaps

From: Andrew Morton
Date: Sat Jun 07 2025 - 17:25:16 EST


On Sat, 7 Jun 2025 13:03:30 -0400 Tal Zussman <tz2294@xxxxxxxxxxxx> wrote:

> On Sat, Jun 7, 2025 at 11:36 AM wangfushuai <wangfushuai@xxxxxxxxx> wrote:
> > Remove outdated VM_DENYWRITE("dw") reference and add missing
> > VM_LOCKONFAULT("lf") and VM_UFFD_MINOR("ui") flags.
>
> VM_DROPPABLE ("dp") is also missing, would be nice to add it as well.
>

Thanks. How's this?


--- a/Documentation/filesystems/proc.rst~docs-proc-update-vmflags-documentation-in-smaps-fix
+++ a/Documentation/filesystems/proc.rst
@@ -610,6 +610,7 @@ encoded manner. The codes are the follow
ss shadow/guarded control stack page
sl sealed
lf lock on fault pages
+ dp always lazily freeable mapping
== =======================================

Note that there is no guarantee that every flag and associated mnemonic will
_