From: Baoquan He <bhe@redhat.com>
To: Barry Song <21cnbao@gmail.com>
Cc: linux-man@vger.kernel.org, chrisl@kernel.org, alx@kernel.org
Subject: Re: [PATCH v2] iman/man2/swapon.2: update priority section
Date: Mon, 20 Oct 2025 21:09:20 +0800 [thread overview]
Message-ID: <aPY0gHrlTKvF21PP@MiWiFi-R3L-srv> (raw)
In-Reply-To: <CAGsJ_4wqvrMw0rwDvciVN3JiQ=_5+30HpWNFz2pMHWNQBvDrwg@mail.gmail.com>
On 10/20/25 at 05:21pm, Barry Song wrote:
> On Mon, Oct 20, 2025 at 6:56 AM Baoquan He <bhe@redhat.com> wrote:
> >
> > This update the description about default priority value which is
> > changed in kernel.
>
> Thanks for sending this. Would it be possible to include a reference to
> the related commit — for example, at least the commit subject? Also,
> does the man page prefer using a link to the kernel patchset?
I see a lot of discussion link is provided in man-pages commit log, and
haven't seen a kernel commit. But I see kernel version is mentioned to
mark since when the man page update is made. It's the first time I
update man page, not sure what is better. Would love to hear suggestions
to improve. Thanks.
https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git
commit 8982bb673546d95b34f7c35be8cadd8091de2a25
Author: Thiago Jung Bauermann <thiago.bauermann@linaro.org>
Date: Tue Sep 9 16:13:57 2025 -0300
man/man2/sigaction.2: Update si_code list with Linux v6.16
Update with missing si_code values from Linux v6.16's
"include/uapi/asm-generic/siginfo.h".
Signed-off-by: Thiago Jung Bauermann <thiago.bauermann@linaro.org>
Message-ID: <20250909191357.44951-1-thiago.bauermann@linaro.org>
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
>
> >
> > Link: https://lore.kernel.org/all/20251011081624.224202-1-bhe@redhat.com/
> > Signed-off-by: Baoquan He <bhe@redhat.com>
> > Cc: chrisl@kernel.org
> > Cc: baohua@kernel.org
> > Cc: alx@kernel.org
> > ---
> > man/man2/swapon.2 | 5 ++---
> > 1 file changed, 2 insertions(+), 3 deletions(-)
> >
> > diff --git a/man/man2/swapon.2 b/man/man2/swapon.2
> > index df5e8d8c7ec6..20e213827733 100644
> > --- a/man/man2/swapon.2
> > +++ b/man/man2/swapon.2
> > @@ -60,9 +60,8 @@ These functions may be used only by a privileged process (one having the
> > capability).
> > .SS Priority
> > Each swap area has a priority, either high or low.
> > -The default priority is low.
> > -Within the low-priority areas,
> > -newer areas are even lower priority than older areas.
> > +The default priority is the lowest,
> > +and all default areas share the same priority value, -1.
>
> Not sure what “default areas” means.
> maybe just the below?
> "
> Areas that are not assigned a priority will receive the default priority of -1.
> "
Sounds good to me. I will spin v3 to include the update. Thanks for the
great suggesiton.
next prev parent reply other threads:[~2025-10-20 13:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-17 12:31 [PATCH v2] iman/man2/swapon.2: update priority section Baoquan He
2025-10-20 9:21 ` Barry Song
2025-10-20 13:09 ` Baoquan He [this message]
2025-10-21 16:58 ` Alejandro Colomar
2025-11-24 16:56 ` Alejandro Colomar
2025-11-25 2:25 ` Baoquan He
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=aPY0gHrlTKvF21PP@MiWiFi-R3L-srv \
--to=bhe@redhat.com \
--cc=21cnbao@gmail.com \
--cc=alx@kernel.org \
--cc=chrisl@kernel.org \
--cc=linux-man@vger.kernel.org \
/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.