[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200525145906.e5xfzmj6hvl7t4fg@box>
Date: Mon, 25 May 2020 17:59:06 +0300
From: "Kirill A. Shutemov" <kirill@...temov.name>
To: "Michael Kerrisk (man-pages)" <mtk.manpages@...il.com>
Cc: Ian Rogers <irogers@...gle.com>, Rik van Riel <riel@...hat.com>,
linux-man@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>,
linux-mm@...ck.org, linux-api@...r.kernel.org, nilal@...hat.com,
Florian Weimer <fweimer@...hat.com>,
Colm MacCártaigh <colm@...costs.net>,
Mike Kravetz <mike.kravetz@...cle.com>
Subject: Re: [PATCH] proc.5: add "wf" to VmFlags in /proc/[pid]/smaps
On Mon, May 25, 2020 at 03:50:38PM +0200, Michael Kerrisk (man-pages) wrote:
> On 5/22/20 1:13 AM, Ian Rogers wrote:
> > On Thu, May 21, 2020 at 3:25 PM Ian Rogers <irogers@...gle.com> wrote:
> >>
> >> This patch documents a flag added in the following kernel commit:
> >>
> >> commit d2cd9ede6e193dd7d88b6d27399e96229a551b19
> >> Author: Rik van Riel <riel@...hat.com>
> >> Date: Wed Sep 6 16:25:15 2017 -0700
> >>
> >> mm,fork: introduce MADV_WIPEONFORK
> >>
> >> This was already documented in man2/madvise.2 in the commit:
> >>
> >> commit c0c4f6c29c494c466f3a2a6273c5b55b76a72927
> >> Author: Rik van Riel <riel@...hat.com>
> >> Date: Tue Sep 19 20:32:00 2017 +0200
> >>
> >> madvise.2: Document MADV_WIPEONFORK and MADV_KEEPONFORK
> >>
> >> Signed-off-by: Ian Rogers <irogers@...gle.com>
> >
> > Doing a quick audit of fs/proc/task_mmu.c having noticed this flag was
> > missing I note:
> > - "mp" isn't documented, only possible with INTEL_MPX
> > - "nl" is documented but not present in show_smap_vma_flags
> > - "um" and "uw" aren't documented
>
> I took a shot at fixing these:
>
>
> mp - MPX-specific VMA (x86, since Linux 3.19)
This one is gone. The patch to remove leftovers of MPX is linux-next.
--
Kirill A. Shutemov
Powered by blists - more mailing lists