]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
swapon.2: Adjust decreased value under CONFIG_PTE_MARKER
authorYang Xu <xuyang2018.jy@fujitsu.com>
Tue, 5 Dec 2023 06:30:17 +0000 (01:30 -0500)
committerAlejandro Colomar <alx@kernel.org>
Sun, 17 Dec 2023 12:35:11 +0000 (13:35 +0100)
Since linux 5.19[1], MAX_SWAPFILES will be futher decreased
1 if kernel built with CONFIG_PTE_MARKER.

Link: [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>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man2/swapon.2

index f80314389b5bc1b18815dfe0f1ca31649eccc0f3..a3707ac657f7ce1acfed7f8237de279318caea20 100644 (file)
@@ -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