summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYang Xu <xuyang2018.jy@fujitsu.com>2023-12-21 22:07:08 -0500
committerAlejandro Colomar <alx@kernel.org>2023-12-22 10:57:37 +0100
commit5dbaf5da3cf68767998f9d29a836dfb8dbc4a32a (patch)
treecff3bc0b1f273adc13ab7b51eb2a0959463876ee
parent846876d13a446836ca19ba1f619515a2cd992217 (diff)
swapon.2: MAX_SWAPFILES: Clarify limit after decrease
Signed-off-by: Yang Xu <xuyang2018.jy@fujitsu.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--man2/swapon.24
1 files changed, 2 insertions, 2 deletions
diff --git a/man2/swapon.2 b/man2/swapon.2
index a3707ac65..b2651fc39 100644
--- a/man2/swapon.2
+++ b/man2/swapon.2
@@ -164,8 +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.
-Since Linux 5.19, the limit is decreased by 3 (thus: 29)
+Since Linux 2.6.18, the limit is decreased by 2 (thus 30),
+since Linux 5.19, the limit is decreased by 3 (thus: 29)
if the kernel is built with the
.B CONFIG_MIGRATION
option