From d71593a99b08b4b5ccef84aac66cb04a608d85fa Mon Sep 17 00:00:00 2001 From: Ivana Hutarova Varekova Date: Tue, 15 Jun 2010 03:49:25 +0200 Subject: [PATCH] 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 --- man2/swapon.2 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/man2/swapon.2 b/man2/swapon.2 index 63d1c9bb0..656139c6f 100644 --- a/man2/swapon.2 +++ b/man2/swapon.2 @@ -34,7 +34,7 @@ .\" 2007-06-22 Ivana Varekova , 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),