Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp495438pxu; Tue, 1 Dec 2020 17:13:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJya11qJzxg2Leq3zQd3DQE9xnKf6h8vcHJm6r+ZnFFcnH3wMn92crfPFd5KP04PpZjQvNTw X-Received: by 2002:a50:9344:: with SMTP id n4mr321472eda.85.1606871595476; Tue, 01 Dec 2020 17:13:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606871595; cv=none; d=google.com; s=arc-20160816; b=TtbWccoRPxC4iEMpSJV9gYNKKxV4dGzSQtD3wcgukF16+Spp1QP+vUsg0jg9soymbb Zbkmx5nJYKoxyZ7Lhh7fxe2t9G7vkd/IB7IAsA9t1EAkp7Zd8rYYdqVlwpgNFTFGSAGw dnIHbtOpLcT0JkJbfrOHnrJhilgr/cHUHpcf4l0nbJ81mz/SHMQiM8F9/fLcnNbEcbcR PmqxAbZNR5sg16vpM+X+t68NomfsyczvBdTME3BwQ9PAVj+iE4eZkTomZq9TguebH8dl dgk7KHcznPvL26QwUOjz8bGcbGbRhVzv4uV9ZTPQhvSba+dau6pRyTcial4MashBlP3f zapg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=GLS29JPliofdLClDLIcf/EjxRzDsiF9nerluyizgtuo=; b=T+CPNhv9hqPMRoQCkTtb5tQm5CFbZunh3y59qSP2Msv3MbWXKyu0o27CgffLct2AFg j/lqfCf2fVPc5WWvLKqzHFoqfzJUsiBC9NQTymzERz97CjaKYLMOf4alBQ/6MXw3aAWx cd8KnuHgA9mdqegD0ZMV585QTw7jPc8JQqmDioe4YaWczQC+e4YW9VQizX8mZvJN4cEP Tc75NWJeddVk6w+TEYiNTT0IIcREhyNZryXpatj5EnvxUPGo4CKoLx4AVDftmGoYc6lb mp2IncsJ7a1JMbT/JwcEV6/ZieO/fN3AWmgS/nkayexWOTb6rE5o1uzF+lAr345E8fr9 f4Sg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=nW+s9po3; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dx21si1280660ejb.197.2020.12.01.17.12.53; Tue, 01 Dec 2020 17:13:15 -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=@infradead.org header.s=casper.20170209 header.b=nW+s9po3; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727661AbgLBBKY (ORCPT + 99 others); Tue, 1 Dec 2020 20:10:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60798 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726903AbgLBBKX (ORCPT ); Tue, 1 Dec 2020 20:10:23 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4EB55C0613CF for ; Tue, 1 Dec 2020 17:09:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=GLS29JPliofdLClDLIcf/EjxRzDsiF9nerluyizgtuo=; b=nW+s9po3Z7UDGR5/Eq137VKbvP i+P+unnI2oRphD4NjgwgeKLrldBbiIYvQIUfotliPLPbgjyP6D6CjgY13i4CDerEvW5RggWOg/Hiw tvo5pfaXZEp9hTj5moNuTLBJOFJC0db9AnErrTVidHo5a517R2xzZcwrSMT1YpzhhmRlAzcm9UvrD m6ucI4pEimy4x+hLo8o2NByME/Fk0j6efPHTYpl7NwPG87QJVv0L9xWg7Wu3HztuKeTcEvGQo9Cxr mB/p7sPsLBXCZS96xHvl8/RUoMWQcD8gYlXl6J3ifvJQsxYg8kj7y94YzMo1p8b36dh1zuXeC6bBq H3NM/k/w==; Received: from [2601:1c0:6280:3f0::1494] (helo=smtpauth.infradead.org) by casper.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1kkGeH-0000Qn-Su; Wed, 02 Dec 2020 01:09:40 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Andrew Morton , linux-mm@kvack.org, Hugh Dickins , Chris Down Subject: [PATCH] tmpfs: fix Documentation nits Date: Tue, 1 Dec 2020 17:09:34 -0800 Message-Id: <20201202010934.18566-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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