Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp51122pxu; Wed, 2 Dec 2020 14:45:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJzn5Zfvoqcx4gU4O8XSjau2x+wg84u5bt+iLKBnNoUd6Es9+LIpKz6iDOm8hmFaSPxKvBLA X-Received: by 2002:a17:906:6683:: with SMTP id z3mr16134ejo.27.1606949129995; Wed, 02 Dec 2020 14:45:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606949129; cv=none; d=google.com; s=arc-20160816; b=V4jC1G+OBmgOfhpdYirkv5BDmMyoXH+pAWwnC9rMwujyJx8lm60Gf+Yn/h6a8qwFrr CjGS5X9vEtj5x+/le97oLVtrumEAo4BDaOBebRs8N0ZuVPk+irwt+UkQfdTZVYST/9XV bNx3/F8bqaP89JOxRnQqOYCnucGia8hpXdOfkKx1F+KUNagM23Stcfxwek03NKt/Fylz C16xcwApqpMIyHNEnXv+zUzbMbJmF+5SxiIP1lt7IYgu82+m0vwMWQokT6hXiBUSRvdQ KFtExNs234MWqEvponXYcI+cFPitKMxDYcEcNd2dk+bu40ExUjSFRaJFieHcMPKWbM6U dxDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date:dkim-signature; bh=11wb0BIy9KYmd8STDFsPLG3fLptgLa5I2UPINy3fpN8=; b=JF6NPCK+NE9EQOGvQfDYRr7RSms8XOoGs5Vwduqi9hc/+CY4GXmgVrr/FguatPfK0R tGEO7BUjeY6yxCgegBScwRFjd+d9/REiq7yvWVZzzAhRveVNxGiiwz/507cftw2IjQNd nTDWJ1uxPGlBeWQ+do0QdIlPNBGXU5ZebaDr+Lbb7zc6G293f0XiQbu0hvZse7zMa8Bo fqN5CXj5ClVpAAp8mEGQ6q75DoIyxVDDcwroa7FSJ2iC3KBy2B7FloQ2ODLVLQfs1ivR hcQuU0Dn+bG5hIILmU6HxiOO1Lagpvy/Lk6whYuJ8d7IZo5peAgT24afDx0e4okoDoJD rbFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=YFbiQ5jQ; 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 b26si109846eds.590.2020.12.02.14.45.06; Wed, 02 Dec 2020 14:45:29 -0800 (PST) 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=YFbiQ5jQ; 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 S1728860AbgLBWmB (ORCPT + 99 others); Wed, 2 Dec 2020 17:42:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34656 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728499AbgLBWmB (ORCPT ); Wed, 2 Dec 2020 17:42:01 -0500 Received: from mail-ot1-x343.google.com (mail-ot1-x343.google.com [IPv6:2607:f8b0:4864:20::343]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4270EC0613D6 for ; Wed, 2 Dec 2020 14:41:21 -0800 (PST) Received: by mail-ot1-x343.google.com with SMTP id z24so3230867oto.6 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=jZFNJycwv+dbYWUjrWwJ94RgI/Uw/wFnioxT1HdKDsTfIKdgVHTdOiBcU1TIKSEw5n 1H25zz2swbumzm1RRV1FiRG486X7q1w4EmvnsS36w0LTMxkuVOJIAxcwyylBGzORiy8o N+EXk7GPvirFGpzV5zKbuBD4xIk3P6JbqPev6mBN59GyRcDfMfSgpskh73FHis9V9vI/ z/Ys7SKVauyVVVz6XDinz+d6K7FekgLT/z9wxOKeCvEvcXn4jiZxwzjFWO+CtFhB8iFb Rkg6QNuCHYjLAnU5+2eCZfAztaRoJ7qNSjC+CXc+lq0UMlyfK5MZAlOVhmHsEKfc9z/x rJAw== X-Gm-Message-State: AOAM533/eUlenP/IPjrNc3dbm43EswOBTzZiYhZl2tHKYrXHtxiH44Kv iT5QQN9jFIJ+ikbHvtQ2W9ZY6g== 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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