From: akpm@linux-foundation.org
To: gorcunov@openvz.org, a.p.zijlstra@chello.nl, xemul@parallels.com,
mm-commits@vger.kernel.org
Subject: [to-be-updated] procfs-add-vmflags-field-in-smaps-output-v3-fix-2.patch removed from -mm tree
Date: Wed, 24 Oct 2012 13:39:45 -0700 [thread overview]
Message-ID: <20121024203945.9ECA7100047@wpzn3.hot.corp.google.com> (raw)
The patch titled
Subject: procfs-add-vmflags-field-in-smaps-output-v3-fix-2
has been removed from the -mm tree. Its filename was
procfs-add-vmflags-field-in-smaps-output-v3-fix-2.patch
This patch was dropped because an updated version will be merged
------------------------------------------------------
From: Cyrill Gorcunov <gorcunov@openvz.org>
Subject: procfs-add-vmflags-field-in-smaps-output-v3-fix-2
Use designated init to assign "??" mnemonic on unknown flags.
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Cc: Pavel Emelyanov <xemul@parallels.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
fs/proc/task_mmu.c | 5 +++++
1 file changed, 5 insertions(+)
diff -puN fs/proc/task_mmu.c~procfs-add-vmflags-field-in-smaps-output-v3-fix-2 fs/proc/task_mmu.c
--- a/fs/proc/task_mmu.c~procfs-add-vmflags-field-in-smaps-output-v3-fix-2
+++ a/fs/proc/task_mmu.c
@@ -534,6 +534,11 @@ static void show_smap_vma_flags(struct s
static const struct {
const char l[2];
} mnemonics[BITS_PER_LONG] = {
+ /*
+ * In case if we meet a flag we don't know about.
+ */
+ [0 ... (BITS_PER_LONG-1)] = { {'?', '?'} },
+
[ilog2(VM_READ)] = { {'r', 'd'} },
[ilog2(VM_WRITE)] = { {'w', 'r'} },
[ilog2(VM_EXEC)] = { {'e', 'x'} },
_
Patches currently in -mm which might be from gorcunov@openvz.org are
pidns-limit-the-nesting-depth-of-pid-namespaces.patch
pidns-limit-the-nesting-depth-of-pid-namespaces-fix.patch
linux-next.patch
proc-check-vma-vm_file-before-dereferencing.patch
procfs-add-vmflags-field-in-smaps-output-v4.patch
procfs-add-vmflags-field-in-smaps-output-v4-fix.patch
tools-testing-selftests-kcmp-kcmp_testc-print-reason-for-failure-in-kcmp_test.patch
reply other threads:[~2012-10-24 20:39 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20121024203945.9ECA7100047@wpzn3.hot.corp.google.com \
--to=akpm@linux-foundation.org \
--cc=a.p.zijlstra@chello.nl \
--cc=gorcunov@openvz.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mm-commits@vger.kernel.org \
--cc=xemul@parallels.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox