public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
From: Alejandro Colomar <alx@kernel.org>
To: Yang Xu <xuyang2018.jy@fujitsu.com>
Cc: linux-man@vger.kernel.org
Subject: Re: [PATCH v2 1/2] swapon.2: Adjust decreased value under CONFIG_MIGRATION
Date: Fri, 15 Dec 2023 12:27:30 +0100	[thread overview]
Message-ID: <ZXw4IuWiejiDqknd@debian> (raw)
In-Reply-To: <ZXw02jr6CaN3gBfa@debian>

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

On Fri, Dec 15, 2023 at 12:13:30PM +0100, Alejandro Colomar wrote:
> Hi Yang,
> 
> On Tue, Dec 05, 2023 at 01:30:16AM -0500, Yang Xu wrote:
> > After kernel 5.19[1], the limit is decreased by 3.
> > 
> > [1]https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/include/linux/swap.h?id=6c287605f
> > 
> > Signed-off-by: Yang Xu <xuyang2018.jy@fujitsu.com>
> 
> I've applied the patch, with some modifications:
> <https://www.alejandro-colomar.es/src/alx/linux/man-pages/man-pages.git/commit/?h=contrib&id=5da8280ed6eefb3d70f86281579c4afae89230b1>

Oops, my modification was wrong.  I've amended that.  Here are the two
patches now:

<https://www.alejandro-colomar.es/src/alx/linux/man-pages/man-pages.git/commit/?h=contrib&id=90ba8cf3ab2536bdc138986c4581c62a3c0b60d4>
<https://www.alejandro-colomar.es/src/alx/linux/man-pages/man-pages.git/commit/?h=contrib&id=9e160cf3fd27181a72ec2fb628f64e971510f9f3>

> 
> Cheers,
> Alex
> 
> > ---
> >  man2/swapon.2 | 3 ++-
> >  1 file changed, 2 insertions(+), 1 deletion(-)
> > 
> > diff --git a/man2/swapon.2 b/man2/swapon.2
> > index c0e61cbc6..2bc477d18 100644
> > --- a/man2/swapon.2
> > +++ b/man2/swapon.2
> > @@ -164,7 +164,8 @@ Before Linux 2.4.10,
> >  .B MAX_SWAPFILES
> >  has the value 8;
> >  since Linux 2.4.10, it has the value 32.
> > -Since Linux 2.6.18, the limit is decreased by 2 (thus: 30)
> > +Since Linux 2.6.18, the limit is decreased by 2 (Since Linux 5.19.0,
> > +the limit is decreased by 3)
> >  if the kernel is built with the
> >  .B CONFIG_MIGRATION
> >  option
> > -- 
> > 2.27.0
> > 
> > 
> 
> -- 
> <https://www.alejandro-colomar.es/>
> Looking for a remote C programming job at the moment.



-- 
<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 --]

  reply	other threads:[~2023-12-15 11:27 UTC|newest]

Thread overview: 7+ 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
     [not found] ` <03fc8738-f3b3-4caa-ab76-49883814ac3c@fujitsu.com>
2023-12-15  7:49   ` [LTP] [PATCH v2 1/2] swapon.2: Adjust decreased value under CONFIG_MIGRATION Yang Xu (Fujitsu)
2023-12-15 11:13 ` Alejandro Colomar
2023-12-15 11:27   ` Alejandro Colomar [this message]
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=ZXw4IuWiejiDqknd@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox