linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] docs: proc: update VmFlags documentation in smaps
@ 2025-06-07 15:36 wangfushuai
       [not found] ` <CAKha_so-2Z+4rAKezv1peeWdkOKoMMvuLqq7dhOmbeeAGxHF5Q@mail.gmail.com>
  0 siblings, 1 reply; 3+ messages in thread
From: wangfushuai @ 2025-06-07 15:36 UTC (permalink / raw)
  To: corbet, akpm, david, andrii, npache, catalin.marinas, xu.xin16
  Cc: linux-kernel, linux-fsdevel, linux-doc, wangfushuai

Remove outdated VM_DENYWRITE("dw") reference and add missing
VM_LOCKONFAULT("lf") and VM_UFFD_MINOR("ui") flags.

Signed-off-by: wangfushuai <wangfushuai@baidu.com>
---
 Documentation/filesystems/proc.rst | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Documentation/filesystems/proc.rst b/Documentation/filesystems/proc.rst
index 2a17865dfe39..e48dabab2a4a 100644
--- a/Documentation/filesystems/proc.rst
+++ b/Documentation/filesystems/proc.rst
@@ -584,7 +584,6 @@ encoded manner. The codes are the following:
     ms    may share
     gd    stack segment growns down
     pf    pure PFN range
-    dw    disabled write to the mapped file
     lo    pages are locked in memory
     io    memory mapped I/O area
     sr    sequential read advise provided
@@ -607,8 +606,10 @@ encoded manner. The codes are the following:
     mt    arm64 MTE allocation tags are enabled
     um    userfaultfd missing tracking
     uw    userfaultfd wr-protect tracking
+    ui    userfaultfd minor fault
     ss    shadow/guarded control stack page
     sl    sealed
+    lf    lock on fault pages
     ==    =======================================
 
 Note that there is no guarantee that every flag and associated mnemonic will
-- 
2.36.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] docs: proc: update VmFlags documentation in smaps
       [not found] ` <CAKha_so-2Z+4rAKezv1peeWdkOKoMMvuLqq7dhOmbeeAGxHF5Q@mail.gmail.com>
@ 2025-06-07 21:25   ` Andrew Morton
  2025-06-08  2:57     ` wangfushuai
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Morton @ 2025-06-07 21:25 UTC (permalink / raw)
  To: Tal Zussman
  Cc: wangfushuai, corbet, david, andrii, npache, catalin.marinas,
	xu.xin16, linux-kernel, linux-fsdevel, linux-doc

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

> On Sat, Jun 7, 2025 at 11:36 AM wangfushuai <wangfushuai@baidu.com> 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
_


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] docs: proc: update VmFlags documentation in smaps
  2025-06-07 21:25   ` Andrew Morton
@ 2025-06-08  2:57     ` wangfushuai
  0 siblings, 0 replies; 3+ messages in thread
From: wangfushuai @ 2025-06-08  2:57 UTC (permalink / raw)
  To: akpm
  Cc: andrii, catalin.marinas, corbet, david, linux-doc, linux-fsdevel,
	linux-kernel, npache, tz2294, wangfushuai, xu.xin16

Thanks for the review. I'll add 'dp' info send v2 shortly.

--
Regards,
Wang

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-06-08  2:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-07 15:36 [PATCH] docs: proc: update VmFlags documentation in smaps wangfushuai
     [not found] ` <CAKha_so-2Z+4rAKezv1peeWdkOKoMMvuLqq7dhOmbeeAGxHF5Q@mail.gmail.com>
2025-06-07 21:25   ` Andrew Morton
2025-06-08  2:57     ` wangfushuai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).