Linux-api Archive mirror
 help / color / mirror / Atom feed
From: Alejandro Colomar <alx@kernel.org>
To: Luis Chamberlain <mcgrof@kernel.org>
Cc: linux-man@vger.kernel.org, linux-api@vger.kernel.org,
	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,
	patches@lists.linux.dev, linux-fsdevel@vger.kernel.org,
	linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] tmpfs.5: extend with new noswap documentation
Date: Tue, 26 Sep 2023 02:20:30 +0200	[thread overview]
Message-ID: <klaavttirlzwac4ztov777srbgmxngi7uc6jngoctvceatmjxh@tt4cgqnwnu5f> (raw)
In-Reply-To: <20230920235022.1070752-1-mcgrof@kernel.org>

[-- Attachment #1: Type: text/plain, Size: 1017 bytes --]

Hi Luis,

On Wed, Sep 20, 2023 at 04:50:22PM -0700, Luis Chamberlain wrote:
> 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>

Patch applied.

Thanks,
Alex

> ---
> 
> changes on v2:
> 
>  - Use semantic newlines
> 
>  man5/tmpfs.5 | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/man5/tmpfs.5 b/man5/tmpfs.5
> index 5274e632d6fd..047a17a78ee0 100644
> --- a/man5/tmpfs.5
> +++ b/man5/tmpfs.5
> @@ -103,6 +103,12 @@ 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
> -- 
> 2.39.2
> 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

      reply	other threads:[~2023-09-26  0:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-20 23:50 [PATCH v2] tmpfs.5: extend with new noswap documentation Luis Chamberlain
2023-09-26  0:20 ` Alejandro Colomar [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=klaavttirlzwac4ztov777srbgmxngi7uc6jngoctvceatmjxh@tt4cgqnwnu5f \
    --to=alx@kernel.org \
    --cc=a.manzanares@samsung.com \
    --cc=da.gomez@samsung.com \
    --cc=dave@stgolabs.net \
    --cc=hughd@google.com \
    --cc=keescook@chromium.org \
    --cc=linux-api@vger.kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-man@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=mcgrof@kernel.org \
    --cc=p.raghav@samsung.com \
    --cc=patches@lists.linux.dev \
    --cc=rohan.puri@samsung.com \
    --cc=rpuri.linux@gmail.com \
    --cc=yosryahmed@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).