Thread (6 messages) 6 messages, 3 authors, 2025-11-25

Re: [PATCH v2] iman/man2/swapon.2: update priority section

From: Alejandro Colomar <alx@kernel.org>
Date: 2025-11-24 16:56:18

Hi Baoquan,

On Fri, Oct 17, 2025 at 08:31:10PM +0800, Baoquan He wrote:
quoted hunk ↗ jump to hunk
This update the description about default priority value which is
changed in kernel.

Link: https://lore.kernel.org/all/20251011081624.224202-1-bhe@redhat.com/ (local)
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.
Please document the old behavior in the HISTORY section.


Have a lovely day!
Alex
 .P
 All priorities set with
 .I swapflags
-- 
2.41.0
-- 
<https://www.alejandro-colomar.es>
Use port 80 (that is, <...:80/>).

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help