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 X-Spam-Level: X-Spam-Status: No, score=-24.8 required=3.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1,USER_IN_DEF_DKIM_WL autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A950FC6369E for ; Wed, 2 Dec 2020 22:41:23 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 107D5221F7 for ; Wed, 2 Dec 2020 22:41:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 107D5221F7 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 4799A6B005C; Wed, 2 Dec 2020 17:41:22 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 429756B005D; Wed, 2 Dec 2020 17:41:22 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 2F04F6B0068; Wed, 2 Dec 2020 17:41:22 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0094.hostedemail.com [216.40.44.94]) by kanga.kvack.org (Postfix) with ESMTP id 165CD6B005C for ; Wed, 2 Dec 2020 17:41:22 -0500 (EST) Received: from smtpin09.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id C8B5F3630 for ; Wed, 2 Dec 2020 22:41:21 +0000 (UTC) X-FDA: 77549814762.09.rod65_3013f4d273b6 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin09.hostedemail.com (Postfix) with ESMTP id B145E180AD807 for ; Wed, 2 Dec 2020 22:41:21 +0000 (UTC) X-HE-Tag: rod65_3013f4d273b6 X-Filterd-Recvd-Size: 5462 Received: from mail-ot1-f67.google.com (mail-ot1-f67.google.com [209.85.210.67]) by imf49.hostedemail.com (Postfix) with ESMTP for ; Wed, 2 Dec 2020 22:41:21 +0000 (UTC) Received: by mail-ot1-f67.google.com with SMTP id 11so3209324oty.9 for ; Wed, 02 Dec 2020 14:41:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=11wb0BIy9KYmd8STDFsPLG3fLptgLa5I2UPINy3fpN8=; b=YFbiQ5jQBxOv+kXTOUL2InMZmILym39Hx47qa6/wP7hvyz0AG+2ljzCpzaFNzWzxmN vIEauxf4ua2P1ukNVDiaAb+LX4pPxzJbcJUCQoAdgiYwsk1q45sVlXYp3/9VeO8StWUD oefBszTsX8p+JYsfqQ7B/jGSZzXWx5uWhIKthwxvdi6uBhTdmuVAaVPgrudKRy8jrPiB CSy+UdEFA0m+U8oWWJbeiSgIbBBBgDhQ3k0KA4zGXmVw6jOstB+wXjUXn5ddxmd2jfEG X8X6ol+OZZHl4hmNB9hGjjrGyCJL0Fz1a/+FeZIhofdfH9Q+3I6FMSqEEozqTJpIB5MX etJA== 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:in-reply-to:message-id :references:user-agent:mime-version; bh=11wb0BIy9KYmd8STDFsPLG3fLptgLa5I2UPINy3fpN8=; b=K/JMtbw8QB5HyDZOzR5CYeecoAOSytz0ZcbAIDPayd3prbVgYOPYJIlFbH2PWE2Q2N 3KezBfxs5LpXZ/dM46Vm9vXdaVRavV98rKcdVsGj2ESTgOh1KJoI/qEbUiO3s0E8YJ1f 6wqrXvUQdELltEDhtpqTWZiI2ldbtn+PZodzmQnvwM8dDNA0FXicpxMM+VLLqr3KGvQU nmlpTyyXrJAdZxpE6/y1zgyHGrYy+c6tepKTf5hL30JOq7wecYj1w4IRTjWl966n7lpt i0DDiGhKgi3oDK7y+FzR1YCq+vjTpxxSWHcslyHC7orxqOpyfDMqENQ+F2nyIafl+SO2 agdw== X-Gm-Message-State: AOAM533PNHhTKwewqaJxNRlbqLSdiLTl38r2iy07nMypSHDjyujgoRRT AJkiWmz2mT2QvM56S0pmpIlP2A== X-Google-Smtp-Source: ABdhPJyjq/pLSAr28mfUmJi7kN/HwyWkzb4KqUhCvTyw/oKgDG/UXaB6Hy3ccF+LY6+ylBIzNaMZDg== X-Received: by 2002:a9d:32b6:: with SMTP id u51mr62957otb.119.1606948880460; Wed, 02 Dec 2020 14:41:20 -0800 (PST) Received: from eggly.attlocal.net (172-10-233-147.lightspeed.sntcca.sbcglobal.net. [172.10.233.147]) by smtp.gmail.com with ESMTPSA id h2sm46452otn.15.2020.12.02.14.41.18 (version=TLS1 cipher=ECDHE-ECDSA-AES128-SHA bits=128/128); Wed, 02 Dec 2020 14:41:19 -0800 (PST) Date: Wed, 2 Dec 2020 14:41:18 -0800 (PST) From: Hugh Dickins X-X-Sender: hugh@eggly.anvils To: Randy Dunlap cc: linux-kernel@vger.kernel.org, Andrew Morton , linux-mm@kvack.org, Hugh Dickins , Chris Down Subject: Re: [PATCH] tmpfs: fix Documentation nits In-Reply-To: <20201202010934.18566-1-rdunlap@infradead.org> Message-ID: References: <20201202010934.18566-1-rdunlap@infradead.org> User-Agent: Alpine 2.11 (LSU 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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: On Tue, 1 Dec 2020, Randy Dunlap wrote: > Fix a typo, punctuation, use uppercase for CPUs, and limit > tmpfs to keeping only its files in virtual memory (phrasing). > > Signed-off-by: Randy Dunlap > Cc: Andrew Morton > Cc: linux-mm@kvack.org > Cc: Hugh Dickins Acked-by: Hugh Dickins Thanks Randy: not so much for these nits, but for keeping your eyes open and helping generally. > Cc: Chris Down > --- > Documentation/filesystems/tmpfs.rst | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > --- linux-next-20201201.orig/Documentation/filesystems/tmpfs.rst > +++ linux-next-20201201/Documentation/filesystems/tmpfs.rst > @@ -4,7 +4,7 @@ > Tmpfs > ===== > > -Tmpfs is a file system which keeps all files in virtual memory. > +Tmpfs is a file system which keeps all of its files in virtual memory. > > > Everything in tmpfs is temporary in the sense that no files will be > @@ -35,7 +35,7 @@ tmpfs has the following uses: > memory. > > This mount does not depend on CONFIG_TMPFS. If CONFIG_TMPFS is not > - set, the user visible part of tmpfs is not build. But the internal > + set, the user visible part of tmpfs is not built. But the internal > mechanisms are always present. > > 2) glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for > @@ -50,7 +50,7 @@ tmpfs has the following uses: > This mount is _not_ needed for SYSV shared memory. The internal > mount is used for that. (In the 2.3 kernel versions it was > necessary to mount the predecessor of tmpfs (shm fs) to use SYSV > - shared memory) > + shared memory.) > > 3) Some people (including me) find it very convenient to mount it > e.g. on /tmp and /var/tmp and have a big swap partition. And now > @@ -83,7 +83,7 @@ If nr_blocks=0 (or size=0), blocks will > if nr_inodes=0, inodes will not be limited. It is generally unwise to > mount with such options, since it allows any user with write access to > use up all the memory on the machine; but enhances the scalability of > -that instance in a system with many cpus making intensive use of it. > +that instance in a system with many CPUs making intensive use of it. > > > tmpfs has a mount option to set the NUMA memory allocation policy for