From: Alejandro Colomar <alx@kernel.org>
To: Yang Xu <xuyang2018.jy@fujitsu.com>
Cc: linux-man@vger.kernel.org
Subject: Re: [PATCH v2 2/2] swapon.2: Adjust decreased value under CONFIG_PTE_MARKER
Date: Fri, 15 Dec 2023 12:11:23 +0100 [thread overview]
Message-ID: <ZXw0W0oCCk86UEvU@debian> (raw)
In-Reply-To: <20231205063017.68690-2-xuyang2018.jy@fujitsu.com>
[-- Attachment #1: Type: text/plain, Size: 1242 bytes --]
Hi Yang,
On Tue, Dec 05, 2023 at 01:30:17AM -0500, Yang Xu wrote:
> Since linux 5.19[1], MAX_SWAPFILES will be futher decreased
> 1 if kernel built with CONFIG_PTE_MARKER.
>
> [1]https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/include/linux/swap.h?id=679d10331
>
> Signed-off-by: Yang Xu <xuyang2018.jy@fujitsu.com>
> ---
Patch applied.
<https://www.alejandro-colomar.es/src/alx/linux/man-pages/man-pages.git/commit/?h=contrib&id=0a5a5dee8927c9e21f13c250a752f3c6ba9d1a09>
Have a lovely day,
Alex
> man2/swapon.2 | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/man2/swapon.2 b/man2/swapon.2
> index 2bc477d18..13282ff96 100644
> --- a/man2/swapon.2
> +++ b/man2/swapon.2
> @@ -181,6 +181,10 @@ Since Linux 5.14, the limit is further decreased by 4
> if the kernel is built with the
> .B CONFIG_DEVICE_PRIVATE
> option.
> +Since Linux 5.19, the limit is further decreased by 1
> +if the kernel is built with the
> +.B CONFIG_PTE_MARKER
> +option.
> .P
> Discard of swap pages was introduced in Linux 2.6.29,
> then made conditional
> --
> 2.27.0
>
>
--
<https://www.alejandro-colomar.es/>
Looking for a remote C programming job at the moment.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2023-12-15 11:11 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-05 6:30 [PATCH v2 1/2] swapon.2: Adjust decreased value under CONFIG_MIGRATION Yang Xu
2023-12-05 6:30 ` [PATCH v2 2/2] swapon.2: Adjust decreased value under CONFIG_PTE_MARKER Yang Xu
2023-12-15 11:11 ` Alejandro Colomar [this message]
2023-12-15 6:04 ` [LTP] [PATCH v2 1/2] swapon.2: Adjust decreased value under CONFIG_MIGRATION Yang Xu (Fujitsu)
2023-12-15 7:49 ` Yang Xu (Fujitsu)
2023-12-15 7:49 ` Yang Xu (Fujitsu)
2023-12-15 11:13 ` Alejandro Colomar
2023-12-15 11:27 ` Alejandro Colomar
2023-12-19 2:14 ` Yang Xu (Fujitsu)
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=ZXw0W0oCCk86UEvU@debian \
--to=alx@kernel.org \
--cc=linux-man@vger.kernel.org \
--cc=xuyang2018.jy@fujitsu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.