All of lore.kernel.org
 help / color / mirror / Atom feed
From: Cyrill Gorcunov <gorcunov-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org>
To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Cc: linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Cyrill Gorcunov
	<gorcunov-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org>
Subject: [RFC 1/2] proc.5: Add description of VmFlags field
Date: Tue, 16 Jul 2013 01:00:28 +0400	[thread overview]
Message-ID: <1373922029-1923-2-git-send-email-gorcunov@openvz.org> (raw)
In-Reply-To: <1373922029-1923-1-git-send-email-gorcunov-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org>

Signed-off-by: Cyrill Gorcunov <gorcunov-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org>
---
 man5/proc.5 | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/man5/proc.5 b/man5/proc.5
index 375a131..c1e01db 100644
--- a/man5/proc.5
+++ b/man5/proc.5
@@ -889,6 +889,8 @@ Shared_Clean:       424 kB
 Shared_Dirty:         0 kB
 Private_Clean:        0 kB
 Private_Dirty:        0 kB
+\&...
+VmFlags: rd ex mr mw me de
 
 .fi
 .in
@@ -900,6 +902,43 @@ the amount of the mapping that is currently resident in RAM,
 the number of clean and dirty shared pages in the mapping,
 and the number of clean and dirty private pages in the mapping.
 
+The
+.I VmFlags
+field (since Linux 3.8) represents the kernel flags associated with
+the particular virtual memory area in two letter encoded manner.
+The codes are the following:
+.nf
+.in +5
+rd = readable
+wr = writeable
+ex = executable
+sh = shared
+mr = may read
+mw = may write
+me = may execute
+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
+rr = random read advise provided
+dc = do not copy area on fork
+de = do not expand area on remapping
+ac = area is accountable
+nr = swap space is not reserved for the area
+ht = area uses huge tlb pages
+nl = non-linear mapping
+ar = architecture specific flag
+dd = do not include area into core dump
+mm = mixed map area
+hg = huge page advise flag
+nh = no-huge page advise flag
+mg = mergable advise flag
+.fi
+.in
+
 This file is present only if the
 .B CONFIG_MMU
 kernel configuration
-- 
1.8.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2013-07-15 21:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-15 21:00 [RFC 0/2] proc.5: Add fresh VmFlags and fdinfo output Cyrill Gorcunov
     [not found] ` <1373922029-1923-1-git-send-email-gorcunov-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org>
2013-07-15 21:00   ` Cyrill Gorcunov [this message]
2013-07-15 21:00   ` [RFC 2/2] proc.5: Start describing /proc/fdinfo format Cyrill Gorcunov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1373922029-1923-2-git-send-email-gorcunov@openvz.org \
    --to=gorcunov-gefaqzzx7r8dnm+yrofe0a@public.gmane.org \
    --cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.