@@ -27,6 +27,16 @@ kernel command line (/proc/cmdline) and collects module parameters
27
27
when it loads a module, so the kernel command line can be used for
28
28
loadable modules too.
29
29
30
+ This document may not be entirely up to date and comprehensive. The command
31
+ "modinfo -p ${modulename}" shows a current list of all parameters of a loadable
32
+ module. Loadable modules, after being loaded into the running kernel, also
33
+ reveal their parameters in /sys/module/${modulename}/parameters/. Some of these
34
+ parameters may be changed at runtime by the command
35
+ ``echo -n ${value} > /sys/module/${modulename}/parameters/${parm} ``.
36
+
37
+ Special handling
38
+ ----------------
39
+
30
40
Hyphens (dashes) and underscores are equivalent in parameter names, so::
31
41
32
42
log_buf_len=1M print-fatal-signals=1
@@ -39,8 +49,8 @@ Double-quotes can be used to protect spaces in values, e.g.::
39
49
40
50
param="spaces in here"
41
51
42
- cpu lists:
43
- ----------
52
+ cpu lists
53
+ ~~~~~~~~~
44
54
45
55
Some kernel parameters take a list of CPUs as a value, e.g. isolcpus,
46
56
nohz_full, irqaffinity, rcu_nocbs. The format of this list is:
@@ -82,12 +92,17 @@ so that "nohz_full=all" is the equivalent of "nohz_full=0-N".
82
92
The semantics of "N" and "all" is supported on a level of bitmaps and holds for
83
93
all users of bitmap_parselist().
84
94
85
- This document may not be entirely up to date and comprehensive. The command
86
- "modinfo -p ${modulename}" shows a current list of all parameters of a loadable
87
- module. Loadable modules, after being loaded into the running kernel, also
88
- reveal their parameters in /sys/module/${modulename}/parameters/. Some of these
89
- parameters may be changed at runtime by the command
90
- ``echo -n ${value} > /sys/module/${modulename}/parameters/${parm} ``.
95
+ Metric suffixes
96
+ ~~~~~~~~~~~~~~~
97
+
98
+ The [KMG] suffix is commonly described after a number of kernel
99
+ parameter values. 'K', 'M', 'G', 'T', 'P', and 'E' suffixes are allowed.
100
+ These letters represent the _binary_ multipliers 'Kilo', 'Mega', 'Giga',
101
+ 'Tera', 'Peta', and 'Exa', equaling 2^10, 2^20, 2^30, 2^40, 2^50, and
102
+ 2^60 bytes respectively. Such letter suffixes can also be entirely omitted.
103
+
104
+ Kernel Build Options
105
+ --------------------
91
106
92
107
The parameters listed below are only valid if certain kernel build options
93
108
were enabled and if respective hardware is present. This list should be kept
@@ -211,10 +226,5 @@ a fixed number of characters. This limit depends on the architecture
211
226
and is between 256 and 4096 characters. It is defined in the file
212
227
./include/uapi/asm-generic/setup.h as COMMAND_LINE_SIZE.
213
228
214
- Finally, the [KMG] suffix is commonly described after a number of kernel
215
- parameter values. These 'K', 'M', and 'G' letters represent the _binary_
216
- multipliers 'Kilo', 'Mega', and 'Giga', equaling 2^10, 2^20, and 2^30
217
- bytes respectively. Such letter suffixes can also be entirely omitted:
218
-
219
229
.. include :: kernel-parameters.txt
220
230
:literal:
0 commit comments