aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/filesystems/ext3.txt4
-rw-r--r--Documentation/kdump/gdbmacros.txt22
-rw-r--r--Documentation/oops-tracing.txt8
-rw-r--r--Documentation/x86_64/boot-options.txt2
-rw-r--r--Documentation/x86_64/cpu-hotplug-spec21
5 files changed, 49 insertions, 8 deletions
diff --git a/Documentation/filesystems/ext3.txt b/Documentation/filesystems/ext3.txt
index f4d0de6bac63..afb1335c05d6 100644
--- a/Documentation/filesystems/ext3.txt
+++ b/Documentation/filesystems/ext3.txt
@@ -84,8 +84,6 @@ reservation
84 84
85noreservation 85noreservation
86 86
87resize=
88
89bsddf (*) Make 'df' act like BSD. 87bsddf (*) Make 'df' act like BSD.
90minixdf Make 'df' act like Minix. 88minixdf Make 'df' act like Minix.
91 89
@@ -175,6 +173,7 @@ See manual pages to learn more.
175tune2fs: create a ext3 journal on a ext2 partition with the -j flag. 173tune2fs: create a ext3 journal on a ext2 partition with the -j flag.
176mke2fs: create a ext3 partition with the -j flag. 174mke2fs: create a ext3 partition with the -j flag.
177debugfs: ext2 and ext3 file system debugger. 175debugfs: ext2 and ext3 file system debugger.
176ext2online: online (mounted) ext2 and ext3 filesystem resizer
178 177
179 178
180References 179References
@@ -184,6 +183,7 @@ kernel source: <file:fs/ext3/>
184 <file:fs/jbd/> 183 <file:fs/jbd/>
185 184
186programs: http://e2fsprogs.sourceforge.net/ 185programs: http://e2fsprogs.sourceforge.net/
186 http://ext2resize.sourceforge.net
187 187
188useful links: http://www.zip.com.au/~akpm/linux/ext3/ext3-usage.html 188useful links: http://www.zip.com.au/~akpm/linux/ext3/ext3-usage.html
189 http://www-106.ibm.com/developerworks/linux/library/l-fs7/ 189 http://www-106.ibm.com/developerworks/linux/library/l-fs7/
diff --git a/Documentation/kdump/gdbmacros.txt b/Documentation/kdump/gdbmacros.txt
index bc1b9eb92ae1..dcf5580380ab 100644
--- a/Documentation/kdump/gdbmacros.txt
+++ b/Documentation/kdump/gdbmacros.txt
@@ -177,3 +177,25 @@ document trapinfo
177 'trapinfo <pid>' will tell you by which trap & possibly 177 'trapinfo <pid>' will tell you by which trap & possibly
178 addresthe kernel paniced. 178 addresthe kernel paniced.
179end 179end
180
181
182define dmesg
183 set $i = 0
184 set $end_idx = (log_end - 1) & (log_buf_len - 1)
185
186 while ($i < logged_chars)
187 set $idx = (log_end - 1 - logged_chars + $i) & (log_buf_len - 1)
188
189 if ($idx + 100 <= $end_idx) || \
190 ($end_idx <= $idx && $idx + 100 < log_buf_len)
191 printf "%.100s", &log_buf[$idx]
192 set $i = $i + 100
193 else
194 printf "%c", log_buf[$idx]
195 set $i = $i + 1
196 end
197 end
198end
199document dmesg
200 print the kernel ring buffer
201end
diff --git a/Documentation/oops-tracing.txt b/Documentation/oops-tracing.txt
index 05960f8a748e..2503404ae5c2 100644
--- a/Documentation/oops-tracing.txt
+++ b/Documentation/oops-tracing.txt
@@ -41,11 +41,9 @@ the disk is not available then you have three options :-
41 run a null modem to a second machine and capture the output there 41 run a null modem to a second machine and capture the output there
42 using your favourite communication program. Minicom works well. 42 using your favourite communication program. Minicom works well.
43 43
44(3) Patch the kernel with one of the crash dump patches. These save 44(3) Use Kdump (see Documentation/kdump/kdump.txt),
45 data to a floppy disk or video rom or a swap partition. None of 45 extract the kernel ring buffer from old memory with using dmesg
46 these are standard kernel patches so you have to find and apply 46 gdbmacro in Documentation/kdump/gdbmacros.txt.
47 them yourself. Search kernel archives for kmsgdump, lkcd and
48 oops+smram.
49 47
50 48
51Full Information 49Full Information
diff --git a/Documentation/x86_64/boot-options.txt b/Documentation/x86_64/boot-options.txt
index e566affeed7f..72ab9b99b22c 100644
--- a/Documentation/x86_64/boot-options.txt
+++ b/Documentation/x86_64/boot-options.txt
@@ -125,7 +125,7 @@ SMP
125 cpumask=MASK only use cpus with bits set in mask 125 cpumask=MASK only use cpus with bits set in mask
126 126
127 additional_cpus=NUM Allow NUM more CPUs for hotplug 127 additional_cpus=NUM Allow NUM more CPUs for hotplug
128 (defaults are specified by the BIOS or half the available CPUs) 128 (defaults are specified by the BIOS, see Documentation/x86_64/cpu-hotplug-spec)
129 129
130NUMA 130NUMA
131 131
diff --git a/Documentation/x86_64/cpu-hotplug-spec b/Documentation/x86_64/cpu-hotplug-spec
new file mode 100644
index 000000000000..5c0fa345e556
--- /dev/null
+++ b/Documentation/x86_64/cpu-hotplug-spec
@@ -0,0 +1,21 @@
1Firmware support for CPU hotplug under Linux/x86-64
2---------------------------------------------------
3
4Linux/x86-64 supports CPU hotplug now. For various reasons Linux wants to
5know in advance boot time the maximum number of CPUs that could be plugged
6into the system. ACPI 3.0 currently has no official way to supply
7this information from the firmware to the operating system.
8
9In ACPI each CPU needs an LAPIC object in the MADT table (5.2.11.5 in the
10ACPI 3.0 specification). ACPI already has the concept of disabled LAPIC
11objects by setting the Enabled bit in the LAPIC object to zero.
12
13For CPU hotplug Linux/x86-64 expects now that any possible future hotpluggable
14CPU is already available in the MADT. If the CPU is not available yet
15it should have its LAPIC Enabled bit set to 0. Linux will use the number
16of disabled LAPICs to compute the maximum number of future CPUs.
17
18In the worst case the user can overwrite this choice using a command line
19option (additional_cpus=...), but it is recommended to supply the correct
20number (or a reasonable approximation of it, with erring towards more not less)
21in the MADT to avoid manual configuration.