Received: by 2002:a25:2c96:0:0:0:0:0 with SMTP id s144csp1440553ybs; Mon, 25 May 2020 16:30:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwdf0U32A8Xukse9G+ZI2sk2rvSPo0uqAEwRJAzg+bu/Ff5FpKKiLNErSGcqG+O6yjhftVG X-Received: by 2002:a17:906:4d9a:: with SMTP id s26mr20030529eju.153.1590449459318; Mon, 25 May 2020 16:30:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590449459; cv=none; d=google.com; s=arc-20160816; b=tQjITQRCGmhDx09oXzMQXFERJERbj34Y6zDU4TG0RXX8sXMQatmzaSQo2rSFLioiuJ 9hSSnZgamdRJGK3n+BKxJ8ihpmlz0Q+1vYviItEf/iopZfLKnEyOwFuNoE84GjEbkVBk A3Wz0jR3HTT6amM3TECImQtz5rGotYR//5anKNFPSe3mB5T9LRh7n7FQgRo3HEoqSnjH lnvx2QazQZtvfvYQMojZ2GiaKnHffVptglL4uLdoSGSGQgXx3nPlCyY4ddUTM9NROtSC 7wrRFTSPqjcikIHNrpyJOkLn2Jlxx4fPQISXnRd67JFvjpUv+PiaIHhTcY5wApKXx4QS 76NA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :reply-to:in-reply-to:references:mime-version:dkim-signature; bh=yacm3U0qWCWgeSmXbcjYqJ4T7TsFvh8zB4Vu1STfoFM=; b=xbHIscMqGh+epJo49J1C4/4XC8NhJ6bbOkKlviJse44dMMEjAK9SnscVE12HOaaltZ wCOKqUa0qgKNp3ISqIEuPofWFccEQJLhtRrntcMR45O7lDYKIEL94B5xHefdmdbXnhLG vTGviH1fxkR+4ceBjymJdSBiVVhotdXs5vTzEC/i+B7gQjSfb/oKPJiup1hMHzsuOeyZ MgqKLDwqziPBhyiefpPlCYxtLdoHHTA08GoE4Tn8J+0XhrwtNAx0YM20g5GUIlXYv8Nc i91+Ln+HK1jdptdnWeFX846txfwIANEeZMOOd0zcF5Sf9xHzsU/CF8a8v7Mzsruy3A94 XPFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=uQa+JryU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l30si12649273edj.293.2020.05.25.16.30.36; Mon, 25 May 2020 16:30:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=uQa+JryU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389884AbgEYSu1 (ORCPT + 99 others); Mon, 25 May 2020 14:50:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58896 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389242AbgEYSu1 (ORCPT ); Mon, 25 May 2020 14:50:27 -0400 Received: from mail-ej1-x643.google.com (mail-ej1-x643.google.com [IPv6:2a00:1450:4864:20::643]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4347C061A0E; Mon, 25 May 2020 11:50:25 -0700 (PDT) Received: by mail-ej1-x643.google.com with SMTP id se13so21356381ejb.9; Mon, 25 May 2020 11:50:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to:cc; bh=yacm3U0qWCWgeSmXbcjYqJ4T7TsFvh8zB4Vu1STfoFM=; b=uQa+JryU5U/xkprr0VU4wHLb1ptlusOM492zyG8yptXBCQ7qII6dwK/9S+0Er1CJVi vdZVJu04IYtyxD8tt6oI2Dby72CGOP8y6yf12XXVdNrTX3D1mLvWrrrG4ZZUsKs344sR uc5s88RYB//nXT5BVmBNbwI/LOnWW/BWJSEpNgIpaLbjr8w3ghGCUjiaRrx3nQKDuBpU LbVRM7shQHOWAKrtO70/jP82aiMaxHB4cIeA3BDQ5ueUgui6UfOflHRsuYs9+fyUFIfu dx766EfXFLguqRAiRFbhAgJaP3cCPYzU7OwKH1NPi5O3wfRDM3/8fjbgPyjsN4ye4JEF M0gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc; bh=yacm3U0qWCWgeSmXbcjYqJ4T7TsFvh8zB4Vu1STfoFM=; b=jVi7nFNUWz3ubpOVsCHMFMdtODE0+0CAhadSSQR8fRQgX5JSfOHVAG9kvor2EnHQtb hFVRl4N5g0cE5UrXQRuj2zaZevDb+ETgKVFGCMss7lWtk2KbsMMbNilECVsLZ+uU8J80 eKQgSzWzZrHrThuope4YApbBTFt/kjAUZxFd95vqEmW/K+ODCseAvSK1e5eCBpr+cX6m FN0Q91eP6pUKtLp2QiQ4fMkIMOH62efP3FWT7EMTN5w37ry4b05Y8jkS3xb9t+rEqGi0 B43IxoRieRyiNyJ8hNMFHYQB4z0007w/KHQdNtdaIol7uVzvlNi/oQgjSYkNmJIr05/u eCIA== X-Gm-Message-State: AOAM533lqHVFxCUFmUPsCTHW6bwb1siyiCrxyBg1OePnqHylBkpWAwEd 3r77UUtP+mDVTRrS6v5oxpUL65ILeCG40u9JflU= X-Received: by 2002:a17:906:41a:: with SMTP id d26mr20778426eja.217.1590432624419; Mon, 25 May 2020 11:50:24 -0700 (PDT) MIME-Version: 1.0 References: <20200521222551.259804-1-irogers@google.com> <1edcb7ac-bc5f-b9ec-a037-656005ae85e3@gmail.com> <20200525145906.e5xfzmj6hvl7t4fg@box> In-Reply-To: <20200525145906.e5xfzmj6hvl7t4fg@box> Reply-To: mtk.manpages@gmail.com From: "Michael Kerrisk (man-pages)" Date: Mon, 25 May 2020 20:50:13 +0200 Message-ID: Subject: Re: [PATCH] proc.5: add "wf" to VmFlags in /proc/[pid]/smaps To: "Kirill A. Shutemov" Cc: Ian Rogers , Rik van Riel , linux-man , LKML , Linux-MM , Linux API , nilal@redhat.com, Florian Weimer , =?UTF-8?Q?Colm_MacC=C3=A1rtaigh?= , Mike Kravetz Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 25 May 2020 at 16:59, Kirill A. Shutemov wrote: > > 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 wrote: > > >> > > >> This patch documents a flag added in the following kernel commit: > > >> > > >> commit d2cd9ede6e193dd7d88b6d27399e96229a551b19 > > >> Author: Rik van Riel > > >> 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 > > >> Date: Tue Sep 19 20:32:00 2017 +0200 > > >> > > >> madvise.2: Document MADV_WIPEONFORK and MADV_KEEPONFORK > > >> > > >> Signed-off-by: Ian Rogers > > > > > > 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. Thanks, Kirill. I'll simply remove that entry. Cheers, Michael -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/