Received: by 2002:a25:2c96:0:0:0:0:0 with SMTP id s144csp1327890ybs; Mon, 25 May 2020 13:05:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxowxGzJHmrmkMl+2y0NNw0QUOE1vKQvR+1wEuBF212z3Nk/19x8QBbAd35ScVelB8kLS/x X-Received: by 2002:a05:6402:1447:: with SMTP id d7mr17408567edx.367.1590437106366; Mon, 25 May 2020 13:05:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590437106; cv=none; d=google.com; s=arc-20160816; b=baNdFYd6OZJ/j9ug7reY4QBxwUC1oeWjYbr8m3Vba1gDfi0B+PfQgramZdsRXhBj3a 5IKJiNPDla+4aBd5ZAmnH9TmmYeZgfPwA0/KRwbMawQI0tLEwN9Jqc5EoXWbZJoEEfWp +g1hpb9FKqVXusC01MdgSCGk4Bm2y3AqLWzowEchojRMeg7t+TIOyozfvJll0JU3dw96 +BSl/1rYncSuC3wmuXAMPTrnCLHP+xIHWs4V7NDNrdRAZ/w1OoMtBxU+80QBXDMOMVHG nFHEg6oUEWXiFY7gujwS/v8ybTtI9+1gNDjBaViKZC1tiHhMCx5AmNtMRH2UnSc7rxGk 5j2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=mEbHD2ev263wlFRheDig3n99CabBDelJzVN0Rki9PdU=; b=LatO3x7UjlhnCipjeN74GdZFdLYSZi6pEJ8SxB0Vzg1vooMoAMFcaG+tiRmfGx2wu5 wFzqiVJJO5705msfyBXEgkV4TJUgDufxxx4CnXZIvJ2OgZpN18sFpHBe3i9RAryJrsSe mHxucGf8YpOYUpoi6WhR1Kc6Hufy7ap4/1Z6OQpc9LmHDNq5ccxVtGHHClgblNZegXqu FQi1I+i7wQ+tRQI4585ya4wWk7CZzMjfr7bibjBgyyWEg8WvOzgELiEkae5DuogkC+j5 q0/iPgyoZyeH8Z8yUxphLTktUHi5KPCqWCdE0XcR40HhkRA/3OJnyuVjMsOEWylHWZxN wwdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@shutemov-name.20150623.gappssmtp.com header.s=20150623 header.b=enNvc4+9; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n22si9800712ejr.497.2020.05.25.13.04.43; Mon, 25 May 2020 13:05:06 -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=@shutemov-name.20150623.gappssmtp.com header.s=20150623 header.b=enNvc4+9; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390978AbgEYO7J (ORCPT + 99 others); Mon, 25 May 2020 10:59:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51084 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390921AbgEYO7I (ORCPT ); Mon, 25 May 2020 10:59:08 -0400 Received: from mail-lj1-x241.google.com (mail-lj1-x241.google.com [IPv6:2a00:1450:4864:20::241]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3EDEEC08C5C0 for ; Mon, 25 May 2020 07:59:08 -0700 (PDT) Received: by mail-lj1-x241.google.com with SMTP id m12so18664698ljc.6 for ; Mon, 25 May 2020 07:59:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shutemov-name.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=mEbHD2ev263wlFRheDig3n99CabBDelJzVN0Rki9PdU=; b=enNvc4+9hQuIOZOIh3CaF8Xu0UeS+b0QfIV6J5Y+QYtH841jSCEK08HAeRk1to7Ei7 mo18xJOlr+wir0EjKge1Voe2Z6a3szF3i50Zj1DIcl2dF4cyHDBAuWKs8XmOR6BD2Uub xef+MqLgkQEgyiJJZTBGfCKGQ2yWMsPHDg7jY+wGy0r4JAaFtWLIcj/WUzNwBYtvtQ/i cSXFVtNNN3PNkIfjSzeLaHI1VJOTBNl0XV0sUEhY3nhCBi/s4KR4ZrlqL17n6HDZSLTU uaQBd1ajC9jkJiXhhkBc8BWDeRk12QnICMUmZf1+eu3v75Jxwzs5IWC2htaEpEslfgcM fVfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=mEbHD2ev263wlFRheDig3n99CabBDelJzVN0Rki9PdU=; b=bCQY0aFFJdNwnDF2UmS/FcJb4iPi4KpBxtsd6bjnwk5hsvGJjXgbd0yIiCzbFLgfYr 3QZxEoqzdUsRzyMmiz3A+6K1ZNBmSEFmZr4RftdIzSzrNEilkFETnsUl4Zqp65HQnn1z 40uVGkkaTiqsm+humoRIDsTuPi7arz2m7phE+x+rHWASeJhGAtwe0C2nPVzcZYNqc9dv sf34OXnAneSHr9VYE6PAOfYmc+v82SkFijUEQOqzbFrcPKZUEK8cuIdpoI2w9lAAnCTR Lve7ysWz5EOkk4C2OMkLdu9L4OlWCap2RhZI6pYGMze5HUE40y3Cngyylh2UjLoMaLLY TjhA== X-Gm-Message-State: AOAM532y8ecJcGB7AzhjuKqcji23ij5awFvy/EQY22WHz1a2S9G5FqZ6 gYMsbZtDfa22nhs0qgjj0c+89g== X-Received: by 2002:a2e:7619:: with SMTP id r25mr14688414ljc.42.1590418746399; Mon, 25 May 2020 07:59:06 -0700 (PDT) Received: from box.localdomain ([86.57.175.117]) by smtp.gmail.com with ESMTPSA id w6sm4697970ljw.89.2020.05.25.07.59.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 May 2020 07:59:05 -0700 (PDT) Received: by box.localdomain (Postfix, from userid 1000) id DFB3F10230F; Mon, 25 May 2020 17:59:06 +0300 (+03) Date: Mon, 25 May 2020 17:59:06 +0300 From: "Kirill A. Shutemov" To: "Michael Kerrisk (man-pages)" Cc: Ian Rogers , Rik van Riel , linux-man@vger.kernel.org, LKML , linux-mm@kvack.org, linux-api@vger.kernel.org, nilal@redhat.com, Florian Weimer , Colm =?utf-8?Q?MacC=C3=A1rtaigh?= , Mike Kravetz Subject: Re: [PATCH] proc.5: add "wf" to VmFlags in /proc/[pid]/smaps Message-ID: <20200525145906.e5xfzmj6hvl7t4fg@box> References: <20200521222551.259804-1-irogers@google.com> <1edcb7ac-bc5f-b9ec-a037-656005ae85e3@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1edcb7ac-bc5f-b9ec-a037-656005ae85e3@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. -- Kirill A. Shutemov