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>
This commit is contained in:
Ivana Hutarova Varekova 2010-06-15 03:49:25 +02:00 committed by Michael Kerrisk
parent 3821a5957f
commit d71593a99b
1 changed files with 5 additions and 1 deletions

View File

@ -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),