aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/sysctl
diff options
context:
space:
mode:
authorGlenn Elliott <gelliott@cs.unc.edu>2012-03-04 19:47:13 -0500
committerGlenn Elliott <gelliott@cs.unc.edu>2012-03-04 19:47:13 -0500
commitc71c03bda1e86c9d5198c5d83f712e695c4f2a1e (patch)
treeecb166cb3e2b7e2adb3b5e292245fefd23381ac8 /Documentation/sysctl
parentea53c912f8a86a8567697115b6a0d8152beee5c8 (diff)
parent6a00f206debf8a5c8899055726ad127dbeeed098 (diff)
Merge branch 'mpi-master' into wip-k-fmlpwip-k-fmlp
Conflicts: litmus/sched_cedf.c
Diffstat (limited to 'Documentation/sysctl')
-rw-r--r--Documentation/sysctl/00-INDEX2
-rw-r--r--Documentation/sysctl/fs.txt24
-rw-r--r--Documentation/sysctl/kernel.txt33
-rw-r--r--Documentation/sysctl/net.txt11
-rw-r--r--Documentation/sysctl/vm.txt16
5 files changed, 60 insertions, 26 deletions
diff --git a/Documentation/sysctl/00-INDEX b/Documentation/sysctl/00-INDEX
index 1286f455992f..8cf5d493fd03 100644
--- a/Documentation/sysctl/00-INDEX
+++ b/Documentation/sysctl/00-INDEX
@@ -4,8 +4,6 @@ README
4 - general information about /proc/sys/ sysctl files. 4 - general information about /proc/sys/ sysctl files.
5abi.txt 5abi.txt
6 - documentation for /proc/sys/abi/*. 6 - documentation for /proc/sys/abi/*.
7ctl_unnumbered.txt
8 - explanation of why one should not add new binary sysctl numbers.
9fs.txt 7fs.txt
10 - documentation for /proc/sys/fs/*. 8 - documentation for /proc/sys/fs/*.
11kernel.txt 9kernel.txt
diff --git a/Documentation/sysctl/fs.txt b/Documentation/sysctl/fs.txt
index 62682500878a..88fd7f5c8dcd 100644
--- a/Documentation/sysctl/fs.txt
+++ b/Documentation/sysctl/fs.txt
@@ -88,20 +88,19 @@ you might want to raise the limit.
88 88
89file-max & file-nr: 89file-max & file-nr:
90 90
91The kernel allocates file handles dynamically, but as yet it
92doesn't free them again.
93
94The value in file-max denotes the maximum number of file- 91The value in file-max denotes the maximum number of file-
95handles that the Linux kernel will allocate. When you get lots 92handles that the Linux kernel will allocate. When you get lots
96of error messages about running out of file handles, you might 93of error messages about running out of file handles, you might
97want to increase this limit. 94want to increase this limit.
98 95
99Historically, the three values in file-nr denoted the number of 96Historically,the kernel was able to allocate file handles
100allocated file handles, the number of allocated but unused file 97dynamically, but not to free them again. The three values in
101handles, and the maximum number of file handles. Linux 2.6 always 98file-nr denote the number of allocated file handles, the number
102reports 0 as the number of free file handles -- this is not an 99of allocated but unused file handles, and the maximum number of
103error, it just means that the number of allocated file handles 100file handles. Linux 2.6 always reports 0 as the number of free
104exactly matches the number of used file handles. 101file handles -- this is not an error, it just means that the
102number of allocated file handles exactly matches the number of
103used file handles.
105 104
106Attempts to allocate more file descriptors than file-max are 105Attempts to allocate more file descriptors than file-max are
107reported with printk, look for "VFS: file-max limit <number> 106reported with printk, look for "VFS: file-max limit <number>
@@ -232,13 +231,6 @@ its creation).
232 231
233This directory contains configuration options for the epoll(7) interface. 232This directory contains configuration options for the epoll(7) interface.
234 233
235max_user_instances
236------------------
237
238This is the maximum number of epoll file descriptors that a single user can
239have open at a given time. The default value is 128, and should be enough
240for normal users.
241
242max_user_watches 234max_user_watches
243---------------- 235----------------
244 236
diff --git a/Documentation/sysctl/kernel.txt b/Documentation/sysctl/kernel.txt
index 3894eaa23486..5e7cb39ad195 100644
--- a/Documentation/sysctl/kernel.txt
+++ b/Documentation/sysctl/kernel.txt
@@ -28,11 +28,13 @@ show up in /proc/sys/kernel:
28- core_uses_pid 28- core_uses_pid
29- ctrl-alt-del 29- ctrl-alt-del
30- dentry-state 30- dentry-state
31- dmesg_restrict
31- domainname 32- domainname
32- hostname 33- hostname
33- hotplug 34- hotplug
34- java-appletviewer [ binfmt_java, obsolete ] 35- java-appletviewer [ binfmt_java, obsolete ]
35- java-interpreter [ binfmt_java, obsolete ] 36- java-interpreter [ binfmt_java, obsolete ]
37- kptr_restrict
36- kstack_depth_to_print [ X86 only ] 38- kstack_depth_to_print [ X86 only ]
37- l2cr [ PPC only ] 39- l2cr [ PPC only ]
38- modprobe ==> Documentation/debugging-modules.txt 40- modprobe ==> Documentation/debugging-modules.txt
@@ -159,7 +161,8 @@ core_pattern is used to specify a core dumpfile pattern name.
159 %s signal number 161 %s signal number
160 %t UNIX time of dump 162 %t UNIX time of dump
161 %h hostname 163 %h hostname
162 %e executable filename 164 %e executable filename (may be shortened)
165 %E executable path
163 %<OTHER> both are dropped 166 %<OTHER> both are dropped
164. If the first character of the pattern is a '|', the kernel will treat 167. If the first character of the pattern is a '|', the kernel will treat
165 the rest of the pattern as a command to run. The core dump will be 168 the rest of the pattern as a command to run. The core dump will be
@@ -213,6 +216,19 @@ to decide what to do with it.
213 216
214============================================================== 217==============================================================
215 218
219dmesg_restrict:
220
221This toggle indicates whether unprivileged users are prevented from using
222dmesg(8) to view messages from the kernel's log buffer. When
223dmesg_restrict is set to (0) there are no restrictions. When
224dmesg_restrict is set set to (1), users must have CAP_SYSLOG to use
225dmesg(8).
226
227The kernel config option CONFIG_SECURITY_DMESG_RESTRICT sets the default
228value of dmesg_restrict.
229
230==============================================================
231
216domainname & hostname: 232domainname & hostname:
217 233
218These files can be used to set the NIS/YP domainname and the 234These files can be used to set the NIS/YP domainname and the
@@ -247,6 +263,19 @@ This flag controls the L2 cache of G3 processor boards. If
247 263
248============================================================== 264==============================================================
249 265
266kptr_restrict:
267
268This toggle indicates whether restrictions are placed on
269exposing kernel addresses via /proc and other interfaces. When
270kptr_restrict is set to (0), there are no restrictions. When
271kptr_restrict is set to (1), the default, kernel pointers
272printed using the %pK format specifier will be replaced with 0's
273unless the user has CAP_SYSLOG. When kptr_restrict is set to
274(2), kernel pointers printed using %pK will be replaced with 0's
275regardless of privileges.
276
277==============================================================
278
250kstack_depth_to_print: (X86 only) 279kstack_depth_to_print: (X86 only)
251 280
252Controls the number of words to print when dumping the raw 281Controls the number of words to print when dumping the raw
@@ -339,7 +368,7 @@ the different loglevels.
339 368
340- console_loglevel: messages with a higher priority than 369- console_loglevel: messages with a higher priority than
341 this will be printed to the console 370 this will be printed to the console
342- default_message_level: messages without an explicit priority 371- default_message_loglevel: messages without an explicit priority
343 will be printed with this priority 372 will be printed with this priority
344- minimum_console_loglevel: minimum (highest) value to which 373- minimum_console_loglevel: minimum (highest) value to which
345 console_loglevel can be set 374 console_loglevel can be set
diff --git a/Documentation/sysctl/net.txt b/Documentation/sysctl/net.txt
index cbd05ffc606b..3201a7097e4d 100644
--- a/Documentation/sysctl/net.txt
+++ b/Documentation/sysctl/net.txt
@@ -32,6 +32,17 @@ Table : Subdirectories in /proc/sys/net
321. /proc/sys/net/core - Network core options 321. /proc/sys/net/core - Network core options
33------------------------------------------------------- 33-------------------------------------------------------
34 34
35bpf_jit_enable
36--------------
37
38This enables Berkeley Packet Filter Just in Time compiler.
39Currently supported on x86_64 architecture, bpf_jit provides a framework
40to speed packet filtering, the one used by tcpdump/libpcap for example.
41Values :
42 0 - disable the JIT (default value)
43 1 - enable the JIT
44 2 - enable the JIT and ask the compiler to emit traces on kernel log.
45
35rmem_default 46rmem_default
36------------ 47------------
37 48
diff --git a/Documentation/sysctl/vm.txt b/Documentation/sysctl/vm.txt
index b606c2c4dd37..96f0ee825bed 100644
--- a/Documentation/sysctl/vm.txt
+++ b/Documentation/sysctl/vm.txt
@@ -80,8 +80,10 @@ dirty_background_bytes
80Contains the amount of dirty memory at which the pdflush background writeback 80Contains the amount of dirty memory at which the pdflush background writeback
81daemon will start writeback. 81daemon will start writeback.
82 82
83If dirty_background_bytes is written, dirty_background_ratio becomes a function 83Note: dirty_background_bytes is the counterpart of dirty_background_ratio. Only
84of its value (dirty_background_bytes / the amount of dirtyable system memory). 84one of them may be specified at a time. When one sysctl is written it is
85immediately taken into account to evaluate the dirty memory limits and the
86other appears as 0 when read.
85 87
86============================================================== 88==============================================================
87 89
@@ -97,8 +99,10 @@ dirty_bytes
97Contains the amount of dirty memory at which a process generating disk writes 99Contains the amount of dirty memory at which a process generating disk writes
98will itself start writeback. 100will itself start writeback.
99 101
100If dirty_bytes is written, dirty_ratio becomes a function of its value 102Note: dirty_bytes is the counterpart of dirty_ratio. Only one of them may be
101(dirty_bytes / the amount of dirtyable system memory). 103specified at a time. When one sysctl is written it is immediately taken into
104account to evaluate the dirty memory limits and the other appears as 0 when
105read.
102 106
103Note: the minimum value allowed for dirty_bytes is two pages (in bytes); any 107Note: the minimum value allowed for dirty_bytes is two pages (in bytes); any
104value lower than this limit will be ignored and the old configuration will be 108value lower than this limit will be ignored and the old configuration will be
@@ -477,10 +481,10 @@ the DMA zone.
477Type(A) is called as "Node" order. Type (B) is "Zone" order. 481Type(A) is called as "Node" order. Type (B) is "Zone" order.
478 482
479"Node order" orders the zonelists by node, then by zone within each node. 483"Node order" orders the zonelists by node, then by zone within each node.
480Specify "[Nn]ode" for zone order 484Specify "[Nn]ode" for node order
481 485
482"Zone Order" orders the zonelists by zone type, then by node within each 486"Zone Order" orders the zonelists by zone type, then by node within each
483zone. Specify "[Zz]one"for zode order. 487zone. Specify "[Zz]one" for zone order.
484 488
485Specify "[Dd]efault" to request automatic configuration. Autoconfiguration 489Specify "[Dd]efault" to request automatic configuration. Autoconfiguration
486will select "node" order in following case. 490will select "node" order in following case.