aboutsummaryrefslogtreecommitdiffstats
path: root/man2
diff options
context:
space:
mode:
authorIvana Hutarova Varekova <varekova@redhat.com>2010-06-15 03:49:25 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2010-06-15 03:49:25 +0200
commitd71593a99b08b4b5ccef84aac66cb04a608d85fa (patch)
tree86b28b6708d1218326f4b66ca6b3143c8a4619ce /man2
parent3821a5957f93729394212db96b0362db79de1c51 (diff)
downloadman-pages-d71593a99b08b4b5ccef84aac66cb04a608d85fa.tar.gz
swapon.2: Note effect of iCONFIG_MEMORY_FAILURE on MAX_SWAPFILES
From 2.6.32, MAX_SWAPFILES is decreased by 1 if the kernel is built with CONFIG_MEMORY_FAILURE. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man2')
-rw-r--r--man2/swapon.26
1 files changed, 5 insertions, 1 deletions
diff --git a/man2/swapon.2 b/man2/swapon.2
index 63d1c9bb0e..656139c6f6 100644
--- a/man2/swapon.2
+++ b/man2/swapon.2
@@ -34,7 +34,7 @@
.\" 2007-06-22 Ivana Varekova <varekova@redhat.com>, mtk
.\" Update text describing limit on number of swap files.
.\"
-.TH SWAPON 2 2007-06-22 "Linux" "Linux Programmer's Manual"
+.TH SWAPON 2 2010-06-15 "Linux" "Linux Programmer's Manual"
.SH NAME
swapon, swapoff \- start/stop swapping to file/device
.SH SYNOPSIS
@@ -165,6 +165,10 @@ option
.BR mbind (2)
and
.BR migrate_pages (2)).
+Since kernel 2.6.32, the limit is further decreased by 1
+if the kernel is built with the
+.B CONFIG_MEMORY_FAILURE
+option.
.SH "SEE ALSO"
.BR mkswap (8),
.BR swapoff (8),