patch-2.4.19 linux-2.4.19/Documentation/sysctl/vm.txt

Next file: linux-2.4.19/Documentation/sysrq.txt
Previous file: linux-2.4.19/Documentation/sound/rme96xx
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/Documentation/sysctl/vm.txt linux-2.4.19/Documentation/sysctl/vm.txt
@@ -21,6 +21,7 @@
 - buffermem
 - freepages
 - kswapd
+- max_map_count
 - overcommit_memory
 - page-cluster
 - pagecache
@@ -170,6 +171,19 @@
 
 ==============================================================
 
+max_map_count:
+
+This file contains the maximum number of memory map areas a
+process may have. Memory map areas are used as a side-effect
+of calling malloc, directly by mmap and mprotect, and also
+when loading shared libraries.
+
+While most applications need less than a thousand maps,
+certain programs, particularly malloc debuggers, may consume 
+lots of them, e.g. up to one or two maps per allocation.
+
+==============================================================
+
 page-cluster:
 
 The Linux VM subsystem avoids excessive disk seeks by reading

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)