Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1785928ybk; Thu, 21 May 2020 15:28:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzr8jPNmSLJLEyPP/dG4LlkE28kZHlnfTfka3qCe7uttMj8G/bXEVQmTCp/Xc6pBebLBE4T X-Received: by 2002:a17:906:d043:: with SMTP id bo3mr5353512ejb.409.1590100085174; Thu, 21 May 2020 15:28:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590100085; cv=none; d=google.com; s=arc-20160816; b=rywicLwXfpk/uCK7S6qSatGWT7DPRUmFpxd9jq13IM/zALgqvJy4eutuvDGkZSueTT m2+g88IP/goSPaGA1zvJP96uJYecoyS7PM7Hdyu3D+CGRY9W9MuBQZd9ZgCotxHgH/TM cmOP7g03ATy8IBqe0SeH9jQllN5AZGhz9jMiMp0zaXY8KRfRD9WS8H4yvQAH5QSs8/xn CdxfHamKDwsEiNoRmcIY0VsDd0wFjIlj68MFzZKC7RGPa5A2tG23B2KltMprWHMn9Xzj E77weR2IomADg3feR3P4MmZajTzjq/CSeJQx57/ZWwCI4S9g9S7/Tp72szPKrSbJtW4P BjVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:from:subject:mime-version :message-id:date:dkim-signature; bh=IcMIWpTIuJhOXe3roKCgk3KWh3umIrVN5sjlOXmENmE=; b=wDBFOuWd25x7VMwGfCeC6AA4W77mMPyEoFnh9vsspWF42+PztZ1qcmi1ZPkvOCTVYW GU0SAdk7RdLf+LpBDaflp9Baev7o44JQyy1wEK0vo0hQHMW84IJMIkySZg1QW7T8OWdi /eokiflFV26TF6j3qde5pPfsDwMPqd3UFb8AYig9gXPoiYMe0H4llIQR6Bs4qyTphSXh gjneGX06y04cGFCpWP7O15BbWQl5xCq9AIEEsd4TEKxhKWxRagBIV++fyeCsYYjH8ruj pxsX6GDqfRkmY4Ael4SJcrrLOhbXsnqlg8vFeWH9+yb8ynSuNb3FacFz3EugSbySxCfG QIdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=n4N7mbnz; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id oq5si4172616ejb.395.2020.05.21.15.27.40; Thu, 21 May 2020 15:28:05 -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=@google.com header.s=20161025 header.b=n4N7mbnz; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730604AbgEUWZ5 (ORCPT + 99 others); Thu, 21 May 2020 18:25:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45126 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730381AbgEUWZ5 (ORCPT ); Thu, 21 May 2020 18:25:57 -0400 Received: from mail-qv1-xf49.google.com (mail-qv1-xf49.google.com [IPv6:2607:f8b0:4864:20::f49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C437DC08C5C0 for ; Thu, 21 May 2020 15:25:56 -0700 (PDT) Received: by mail-qv1-xf49.google.com with SMTP id z1so8641783qvd.23 for ; Thu, 21 May 2020 15:25:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:message-id:mime-version:subject:from:to:cc; bh=IcMIWpTIuJhOXe3roKCgk3KWh3umIrVN5sjlOXmENmE=; b=n4N7mbnzd+X7RmLijocF1fab6W7WtoTITGMbGY3Qfn/byG9EcJvqHVnka2hmpyYVFs rrHb82CqiSaztzWuWl0w7CIIP8DtJXCCjTxqcM3hq5jGM3rBWTv5rANe3FfJKLNYxwot 7eDFZbmuU2AtPzrRNgSiW0T2vIRfOnzNVfzTu4qo4fekYNBE/X9INuOeJb9+AeMBy6YY nvB4yQSetAr+59/y4rOaLDupbgJosev9HUrAX1n04wBq7Ubd7S309nMztfO9TSkHpmqO dQ82SxMi/0nL3nX6HoqKVmKBkqDmSlVI0Ny3VKBsV0YmRdXAIeC3EFMOMwKMf/5Y7ogg Ry+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:mime-version:subject:from:to:cc; bh=IcMIWpTIuJhOXe3roKCgk3KWh3umIrVN5sjlOXmENmE=; b=L/nh+fX89v2u3zrpswhOBSCV5Gq4L/zbwmUAH1nHmuh2tuwBJZoWh4C/tGwrI4cbly ooI8WMWl3raIgZm/9VsnT0fWUUkV/OC8hm4wK7OBKpp+lT9cfPZFt86+8xmN37TtiCXj +k4egXmw2dmwWOqdYeCwDCktTQp5c+hCKI2eKjbSAIXxy6DaMxwPmj3+OflMGSXpZtj8 gHo86IIs9Q3SBNf7fTyyj3NVo3ykwuhwEVgVz2DRR+5RwM/myERFNQMf7XBixziDemLW SAseySxMSk5ID2ohNxAUssdn5UMpZDmOble0ax6MG6FXUdA0urts6xng26iu25rLN0nW 1FsQ== X-Gm-Message-State: AOAM5311N/sDBArs7dGNU13/Nz6bMzsLwI+MY5EyZcQynIIUJK6ZEHhZ HSa5dY5b+SbqBtzl4fCO/X5guMbLeNtB X-Received: by 2002:ad4:43e3:: with SMTP id f3mr908752qvu.115.1590099955922; Thu, 21 May 2020 15:25:55 -0700 (PDT) Date: Thu, 21 May 2020 15:25:51 -0700 Message-Id: <20200521222551.259804-1-irogers@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.27.0.rc0.183.gde8f92d652-goog Subject: [PATCH] proc.5: add "wf" to VmFlags in /proc/[pid]/smaps From: Ian Rogers To: Rik van Riel , mtk.manpages@gmail.com Cc: linux-man@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-api@vger.kernel.org, nilal@redhat.com, Florian Weimer , "=?UTF-8?q?Colm=20MacC=C3=A1rtaigh?=" , Mike Kravetz , Ian Rogers 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 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 --- man5/proc.5 | 1 + 1 file changed, 1 insertion(+) diff --git a/man5/proc.5 b/man5/proc.5 index 46d603f28..3e5b91af0 100644 --- a/man5/proc.5 +++ b/man5/proc.5 @@ -2020,6 +2020,7 @@ encoded using the following two-letter codes: ht - area uses huge tlb pages nl - non-linear mapping ar - architecture specific flag + wf - wipe on fork dd - do not include area into core dump sd - soft-dirty flag mm - mixed map area -- 2.27.0.rc0.183.gde8f92d652-goog