summaryrefslogtreecommitdiffstats
path: root/Documentation/sysctl/vm.txt
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1998-04-05 11:23:36 +0000
committerRalf Baechle <ralf@linux-mips.org>1998-04-05 11:23:36 +0000
commit4318fbda2a7ee51caafdc4eb1f8028a3f0605142 (patch)
treecddb50a81d7d1a628cc400519162080c6d87868e /Documentation/sysctl/vm.txt
parent36ea5120664550fae6d31f1c6f695e4f8975cb06 (diff)
o Merge with Linux 2.1.91.
o First round of bugfixes for the SC/MC CPUs. o FPU context switch fixes. o Lazy context switches. o Faster syscalls. o Removed dead code. o Shitloads of other things I forgot ...
Diffstat (limited to 'Documentation/sysctl/vm.txt')
-rw-r--r--Documentation/sysctl/vm.txt26
1 files changed, 19 insertions, 7 deletions
diff --git a/Documentation/sysctl/vm.txt b/Documentation/sysctl/vm.txt
index 818d00f40..f2ef26fff 100644
--- a/Documentation/sysctl/vm.txt
+++ b/Documentation/sysctl/vm.txt
@@ -19,6 +19,7 @@ Currently, these files are in /proc/sys/vm:
- buffermem
- freepages
- overcommit_memory
+- pagecache
- swapctl
- swapout_interval
@@ -93,17 +94,16 @@ buffermem:
The three values in this file correspond to the values in
the struct buffer_mem. It controls how much memory should
-be used for buffer and cache memory. Note that memorymapped
-files are also counted as cache memory...
+be used for buffer memory.
The values are:
min_percent -- this is the minumum percentage of memory
- that should be spent on buffer + page cache
-borrow_percent -- when Linux is short on memory, and buffer
- and cache use more than this percentage of
- memory, free pages are stolen from them
+ that should be spent on buffer memory
+borrow_percent -- when Linux is short on memory, and the
+ buffer cache uses more memory, free pages
+ are stolen from it
max_percent -- this is the maximum amount of memory that
- can be used for buffer and cache memory
+ can be used for buffer memory
==============================================================
freepages:
@@ -176,6 +176,18 @@ static inline int vm_enough_memory(long pages)
==============================================================
+pagecache:
+
+This file does exactly the same as buffermem, only this
+file controls the struct page_cache, and thus controls
+the amount of memory allowed for memory mapping of files.
+
+You don't want the minimum level to be too low, otherwise
+your system might thrash when memory is tight or fragmentation
+is high...
+
+==============================================================
+
swapctl:
This file contains no less than 8 variables.