From patchwork Thu May 21 22:25:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Rogers X-Patchwork-Id: 11564147 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 57B0A90 for ; Thu, 21 May 2020 22:25:58 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 25019207F9 for ; Thu, 21 May 2020 22:25:58 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="n4N7mbnz" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 25019207F9 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 691D780008; Thu, 21 May 2020 18:25:57 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 6407680007; Thu, 21 May 2020 18:25:57 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 57D3180008; Thu, 21 May 2020 18:25:57 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0191.hostedemail.com [216.40.44.191]) by kanga.kvack.org (Postfix) with ESMTP id 406A580007 for ; Thu, 21 May 2020 18:25:57 -0400 (EDT) Received: from smtpin01.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id 064388248047 for ; Thu, 21 May 2020 22:25:57 +0000 (UTC) X-FDA: 76842159954.01.beam20_8b37f88c8ad52 X-Spam-Summary: 2,0,0,7362c3fec688e4a4,d41d8cd98f00b204,38__gxgckcawu30sq34s00sxq.o0yxuz69-yyw7mow.03s@flex--irogers.bounces.google.com,,RULES_HIT:41:152:355:379:541:800:960:973:988:989:1260:1277:1313:1314:1345:1437:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2393:2553:2559:2562:2771:3138:3139:3140:3141:3142:3152:3352:3865:3868:3870:4321:5007:6119:6261:6653:7875:7903:8784:9969:10004:10400:11658:11914:12043:12262:12296:12297:12438:12555:12679:12740:12895:13069:13311:13357:14096:14097:14181:14394:14659:14721:21080:21365:21444:21451:21627:30012:30054:30091,0,RBL:209.85.219.73:@flex--irogers.bounces.google.com:.lbl8.mailshell.net-62.18.0.100 66.100.201.100,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fp,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:23,LUA_SUMMARY:none X-HE-Tag: beam20_8b37f88c8ad52 X-Filterd-Recvd-Size: 3697 Received: from mail-qv1-f73.google.com (mail-qv1-f73.google.com [209.85.219.73]) by imf33.hostedemail.com (Postfix) with ESMTP for ; Thu, 21 May 2020 22:25:56 +0000 (UTC) Received: by mail-qv1-f73.google.com with SMTP id d19so8657043qvk.8 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=F3kULTjlbb794+LNd5pwkiMNQ5yGlWntRRGbsNYCp0SvTzsm+iZ0GNQY/wZYCpz/ep 4bxfqKWOFdGSjIxO6Rs/2oXKATYIJ5jaPfa7TsoX9UvL0tXClWdzNgHQ/vEunJiH5xZ6 AJuRE3lEWPVN6cbRoobGY/1RKbseIG7HymeB+DgOp71wGDcWg3qUS6xlXJwfNrtYxqX9 UFn2WkcgAkXkUJwJnQk2L8DkrGdaV1X2jIxw82QLu0sp4vSzSVPV7RQWFZlyHG+TRpar 4b2JjxjjFpyrlBklbuSIAXwae7a5y4uh13gtjVzR8I4oKaG9nFd23I2odJ2l4Adn4FwP O5gg== X-Gm-Message-State: AOAM530D5I58myW5Ookrsa8bJ528dYcleLQ5VwEWtLow/TmAj1diB7P1 +0BTcUX7PdDFv5nVwJe5sc4KOl05S1RH X-Google-Smtp-Source: ABdhPJy7zMpHMw3vtshTDzUFBDK8SKAjdIyya1+LREbYnNfVWw7HiFYhgZ5eGU1W+DninwgUHDkpcJ8rEx/b 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_MacC=C3=A1rtaigh?= " , Mike Kravetz , Ian Rogers X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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