Message ID | 20230526210703.934922-1-mcgrof@kernel.org (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> 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 9F90CC77B73 for <linux-mm@archiver.kernel.org>; Fri, 26 May 2023 21:07:22 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id D43086B0074; Fri, 26 May 2023 17:07:21 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id CF2EB6B0075; Fri, 26 May 2023 17:07:21 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id BBABF900002; Fri, 26 May 2023 17:07:21 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id A7D606B0074 for <linux-mm@kvack.org>; Fri, 26 May 2023 17:07:21 -0400 (EDT) Received: from smtpin11.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id 740201A027A for <linux-mm@kvack.org>; Fri, 26 May 2023 21:07:21 +0000 (UTC) X-FDA: 80833641882.11.9B9A077 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) by imf18.hostedemail.com (Postfix) with ESMTP id 7BFA91C0017 for <linux-mm@kvack.org>; Fri, 26 May 2023 21:07:18 +0000 (UTC) Authentication-Results: imf18.hostedemail.com; dkim=pass header.d=infradead.org header.s=bombadil.20210309 header.b=0CftGiEn; spf=none (imf18.hostedemail.com: domain of mcgrof@infradead.org has no SPF policy when checking 198.137.202.133) smtp.mailfrom=mcgrof@infradead.org; dmarc=fail reason="No valid SPF, DKIM not aligned (relaxed)" header.from=kernel.org (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1685135238; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:references:dkim-signature; bh=1ogg/PUbTxKmhWJC/1xhoXa1dzdnZDY8ZuRWFCmZ38s=; b=GjAuabr44zinpd6j+H5lL4iI/+YE/RVySQF4QRhIi9YM2YoK/ZZJlPiPpAKwbjnnpM5u/K 9JADdlUfch3p9+thXYS77tUBVi+jBIbEMTJL/RnFgOci+qvuyUDFCS1MZByHJwaC+Z1KVS n/0CPw5lB7zyG5dlPMUXK7UEEYJzFP4= ARC-Authentication-Results: i=1; imf18.hostedemail.com; dkim=pass header.d=infradead.org header.s=bombadil.20210309 header.b=0CftGiEn; spf=none (imf18.hostedemail.com: domain of mcgrof@infradead.org has no SPF policy when checking 198.137.202.133) smtp.mailfrom=mcgrof@infradead.org; dmarc=fail reason="No valid SPF, DKIM not aligned (relaxed)" header.from=kernel.org (policy=none) ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1685135238; a=rsa-sha256; cv=none; b=zZ6PXHzDOBGMsZwxMm3TV0oGKnPaLt8e/I6hRdwyv32t3c9ToR4wLPxKcKrRZU3U/osX8C cqfTyjgYJo96WQ2Jj/sWE1fQmq13hcJs4W1CpwYBL9T9jHcjqEME7nAf7RW1DZrkHL088D 6Yg+9sDoPk6qtJwTNr1dLsTmeReoFgI= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Sender:Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=1ogg/PUbTxKmhWJC/1xhoXa1dzdnZDY8ZuRWFCmZ38s=; b=0CftGiEnPzro23zYDvjoLbTFuY rqII7GAY5PmjLXehFY5Msk61fmrmnxv/iFFbFHZG+DNz5DTQeMpTaBcuX0gWbyUeB5JB3fQfzA+kz fzptzQXE+XrWAbMiezOCIrxOV0IuwLfF7FCG2gyB0DE5gbz2L0KfgjW3Bk4V0j7UiSFI4ZSFIJJr4 jyVf6puAi6HAZKAOHTNvCqL6Z1DEJtp2HYSBPi/zys75bwYb+23doVm93UdkVBX/T9iihvITcWI+r M4+rCBQwC3bY412UlfWIrjczePv/jpUHL6dzZQ+BiMpnm4Skwd1bjpxDdxWu/pR5RPP1xvasBu+gO zLzoa2FA==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.96 #2 (Red Hat Linux)) id 1q2eeO-003vDt-0W; Fri, 26 May 2023 21:07:04 +0000 From: Luis Chamberlain <mcgrof@kernel.org> To: alx@kernel.org, linux-man@vger.kernel.org, linux-api@vger.kernel.org Cc: hughd@google.com, p.raghav@samsung.com, da.gomez@samsung.com, rohan.puri@samsung.com, rpuri.linux@gmail.com, a.manzanares@samsung.com, dave@stgolabs.net, yosryahmed@google.com, keescook@chromium.org, mcgrof@kernel.org, patches@lists.linux.dev, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH] tmpfs.5: extend with new noswap documentation Date: Fri, 26 May 2023 14:07:03 -0700 Message-Id: <20230526210703.934922-1-mcgrof@kernel.org> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 7BFA91C0017 X-Rspam-User: X-Stat-Signature: pyjofd59o3srgprmjkg4mp4i6xbfi5b7 X-Rspamd-Server: rspam01 X-HE-Tag: 1685135238-383693 X-HE-Meta: U2FsdGVkX1+DsLqoi/1e3rIR50H5zEOxB5IYUe1M91DP/IB74KVWSKne7Lj/wZPmB4RKvbVqPqEuYDvWINPmNgkbfoemkOgCr8miAOcRzzEXgRDYTvLZo4y6m+gZIFfkjG9oD7/YEh2MZpnCHHg09adrW321G/JfLFqYyOLvopZu2m8pGjs3SH7as7OnBkolPtKS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Nv8lhqlOBME5hqFtwB5tRwuBWD+p4dF2mNjFqTiMu7CFAdZo22tYPJsReu4y70OX4ribcxhbz4Sjk/zUhMMiqjaLgO9JukKUaJGS5yrn39Ufs+XSN5lRGwNX7XuknK4G5uYBurWAlfdKLsOVYz4q0v6FohFMt6cEHzQKSaWu8TmCWiu5MmycSzFoixTqsxQ== 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: <linux-mm.kvack.org> |
Series |
tmpfs.5: extend with new noswap documentation
|
expand
|
diff --git a/man5/tmpfs.5 b/man5/tmpfs.5 index 09d9558985e9..f7f90f112103 100644 --- a/man5/tmpfs.5 +++ b/man5/tmpfs.5 @@ -99,6 +99,11 @@ suffixes like .BR size , but not a % suffix. .TP +.BR noswap "(since Linux 6.4)" +.\" commit 2c6efe9cf2d7841b75fe38ed1adbd41a90f51ba0 +Disables swap. Remounts must respect the original settings. +By default swap is enabled. +.TP .BR mode "=\fImode\fP" Set initial permissions of the root directory. .TP
Linux commit 2c6efe9cf2d7 ("shmem: add support to ignore swap") merged as of v6.4 added support to disable swap for tmpfs mounts. This extends the man page to document that. Signed-off-by: Luis Chamberlain <mcgrof@kernel.org> --- man5/tmpfs.5 | 5 +++++ 1 file changed, 5 insertions(+)