From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 254B4C433FE for ; Sat, 5 Nov 2022 09:34:12 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 1B3216B0071; Sat, 5 Nov 2022 05:34:12 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 13C326B0073; Sat, 5 Nov 2022 05:34:12 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id EF78E6B0074; Sat, 5 Nov 2022 05:34:11 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id DD99A6B0071 for ; Sat, 5 Nov 2022 05:34:11 -0400 (EDT) Received: from smtpin27.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 84691C1656 for ; Sat, 5 Nov 2022 09:34:11 +0000 (UTC) X-FDA: 80098877502.27.FD9F43D Received: from mail-pj1-f49.google.com (mail-pj1-f49.google.com [209.85.216.49]) by imf08.hostedemail.com (Postfix) with ESMTP id 1D4C9160003 for ; Sat, 5 Nov 2022 09:34:10 +0000 (UTC) Received: by mail-pj1-f49.google.com with SMTP id r61-20020a17090a43c300b00212f4e9cccdso10273571pjg.5 for ; Sat, 05 Nov 2022 02:34:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=MUeB1wxwElA3aU1LB1KCP8hHPZ77G0BqrxE34Pw9il0=; b=DG4aT/WxsEYDkYDEQxTOXS7q8vHLOyEO/uj+tBuwJI7Gf6FYQcEI3ymvAahj2azh66 8drK0z5ZhBZmHagLhgti7LhYkid3BGk/uXURcd+V0Fu7mdzFKqi+7QvMuZ4XEsU3FckX 9CVXVizm8h1tSwLNC7phGOfzR4LgPoVoBMR/5FghmgBj+c81TQBoBha+CeceBUqcV9oG //ExBqFUH98era++tIN0uHYp81/p4+t4r3bRB/PGP+q94N3Dp6GfknG8tY4x3ZopCf66 Z1TYVmzZTrk/FojaOmw8m/WEuJE8SohAWh4zPLrBu1HRKKsrnKqh3ghK5h4i+pH9dy+X nW4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=MUeB1wxwElA3aU1LB1KCP8hHPZ77G0BqrxE34Pw9il0=; b=72MTo++VMArOrOM8xdSrzLCLUn3L0tiKSw8zy2IlZsA/KOUg65G/3uXfttIQLnEIhe vjLLJPO3KsrjxMcqI2bv7QKBjfQTt3uIFO/EslZrhImSlHMWbvtuygxYNtX4cejc450u KJYWbRwJNe2Fhl+rDgT1Hppuel92H4kguMqc6dyzLTKieQZ7BO6YeuYqTyb38bgC8zy5 Pkn6gG2793M1hAx0lh1H8FWGayYDcyl8Iy539xa5nYhKrt6ifgUWB8P/gO9oeCQRYB5a 2mNFSjdf85YS0Qj+41pCPQ4mBZILeG9moCe+kUttcEXifybALnWtPVI56NlVIYrX2ThE ebBA== X-Gm-Message-State: ACrzQf2RHb/cpzb4rzvSQkzjSv3JK2ldUKvQoRRuRT6KkJv4uWWRvyy2 8YztQRN/OZutEH8jF8+Nsjo= X-Google-Smtp-Source: AMsMyM7o+xG/DHwr/irwiuAo0sjuhrxPhigy9HbbCc5RG6Iiz0G6wbIvOGGzAIILbhx/o+me6tgjnw== X-Received: by 2002:a17:902:f252:b0:186:9efb:7203 with SMTP id j18-20020a170902f25200b001869efb7203mr39101549plc.12.1667640849834; Sat, 05 Nov 2022 02:34:09 -0700 (PDT) Received: from debian.me (subs02-180-214-232-22.three.co.id. [180.214.232.22]) by smtp.gmail.com with ESMTPSA id e38-20020a631e26000000b0046497308480sm921374pge.77.2022.11.05.02.34.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 05 Nov 2022 02:34:09 -0700 (PDT) Received: by debian.me (Postfix, from userid 1000) id 97F4310400E; Sat, 5 Nov 2022 16:34:05 +0700 (WIB) Date: Sat, 5 Nov 2022 16:34:05 +0700 From: Bagas Sanjaya To: Pasha Tatashin Cc: corbet@lwn.net, akpm@linux-foundation.org, hughd@google.com, hannes@cmpxchg.org, david@redhat.com, vincent.whitchurch@axis.com, seanjc@google.com, rppt@kernel.org, shy828301@gmail.com, paul.gortmaker@windriver.com, peterx@redhat.com, vbabka@suse.cz, Liam.Howlett@oracle.com, ccross@google.com, willy@infradead.org, arnd@arndb.de, cgel.zte@gmail.com, yuzhao@google.com, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-doc@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH] mm: anonymous shared memory naming Message-ID: References: <20221105025342.3130038-1-pasha.tatashin@soleen.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="FQfVBk6NiV0tGkMf" Content-Disposition: inline In-Reply-To: <20221105025342.3130038-1-pasha.tatashin@soleen.com> ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1667640851; a=rsa-sha256; cv=none; b=rfxeY4wt2UeXpk4NecDKKbKGiJUzu69J7NbxBmOMput9u4eDy2QPPXbN85sae4WWb3f65W hWS6i4fnEDIXoEPeUOTrUxY4byOZGyhLqUwk48uVtn7fcECSwRi8a748ckFCoyws73okQ5 N8qof5rVgn2u9M8ojnJgPbhcH5i0cDg= ARC-Authentication-Results: i=1; imf08.hostedemail.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="DG4aT/Wx"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (imf08.hostedemail.com: domain of bagasdotme@gmail.com designates 209.85.216.49 as permitted sender) smtp.mailfrom=bagasdotme@gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1667640851; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=MUeB1wxwElA3aU1LB1KCP8hHPZ77G0BqrxE34Pw9il0=; b=dZ5WIdjXGPNeO93TpfgjVPa5fuwwtJghwQcrbN1Tel96kJqk/Pphq3nQF3CDiu6JMByXmn 0taDNv4e6DMtUx8RYFudfHJx26QtW8any3Wdu2AYEzj+BQkJ8DhYfRx8UwAl5aPMKHlDg4 xy93DE2ET32BOJUczL0Fgvej5Mk6r08= X-Stat-Signature: i7d9fdrxgoniakj79yzbfbkdbscmtaah X-Rspamd-Queue-Id: 1D4C9160003 Authentication-Results: imf08.hostedemail.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="DG4aT/Wx"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (imf08.hostedemail.com: domain of bagasdotme@gmail.com designates 209.85.216.49 as permitted sender) smtp.mailfrom=bagasdotme@gmail.com X-Rspam-User: X-Rspamd-Server: rspam07 X-HE-Tag: 1667640850-233776 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: --FQfVBk6NiV0tGkMf Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Nov 05, 2022 at 02:53:42AM +0000, Pasha Tatashin wrote: > Since: > commit 9a10064f5625 ("mm: add a field to store names for private anonymous > memory") >=20 > We can set names for private anonymous memory but not for shared > anonymous memory. However, naming shared anonymous memory just as > useful for tracking purposes. >=20 Who are "we"? Instead, say "Since commit , name for private anonymous memory, but not shared anonymous, can be set". > @@ -431,8 +431,10 @@ is not associated with a file: > [stack] the stack of the main process > [vdso] the "virtual dynamic shared object", > the kernel system call handler > - [anon:] an anonymous mapping that has been > + [anon:] a private anonymous mapping that has been > named by userspace > + path [anon_shmem:] an anonymous shared memory mapping that has > + been named by userspace > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D > =20 The table above triggers Sphinx warning: Documentation/filesystems/proc.rst:436: WARNING: Malformed table. Text in column margin in table line 8. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D [heap] the heap of the program [stack] the stack of the main process [vdso] the "virtual dynamic shared object", the kernel system call handler [anon:] a private anonymous mapping that has been named by userspace path [anon_shmem:] an anonymous shared memory mapping that has been named by userspace =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D I have applied the fixup: ---- >8 ---- diff --git a/Documentation/filesystems/proc.rst b/Documentation/filesystems= /proc.rst index 8f1e68460da5cd..3f17b4ef307fe4 100644 --- a/Documentation/filesystems/proc.rst +++ b/Documentation/filesystems/proc.rst @@ -426,7 +426,7 @@ with the memory region, as the case would be with BSS (= uninitialized data). The "pathname" shows the name associated file for this mapping. If the ma= pping is not associated with a file: =20 - =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D + =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D [heap] the heap of the program [stack] the stack of the main process [vdso] the "virtual dynamic shared object", @@ -435,7 +435,7 @@ is not associated with a file: named by userspace path [anon_shmem:] an anonymous shared memory mapping that has been named by userspace - =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D + =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20 or if empty, the mapping is anonymous. =20 Thanks. --=20 An old man doll... just what I always wanted! - Clara --FQfVBk6NiV0tGkMf Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQSSYQ6Cy7oyFNCHrUH2uYlJVVFOowUCY2YuCAAKCRD2uYlJVVFO oz9oAPwKlsfNy7oaWuFtBZRtmLiAWjuEXXO/oYQ+eLkQNog6eQEAgqNvsaT5kEro 1QjKBz5gzd7Eh3lTYQX3y9Kbt/pH/QI= =lgY4 -----END PGP SIGNATURE----- --FQfVBk6NiV0tGkMf--