diff options
author | Masanari Iida <standby24x7@gmail.com> | 2016-06-30 23:46:01 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2016-07-01 04:00:10 -0400 |
commit | c76a093dc1415d364020b8b33f1e194ef4d26fd0 (patch) | |
tree | 7bf0ebac56ddfef7cfa0cbc224acaadbbc909b66 | |
parent | 1ead852dd88779eda12cb09cc894a03d9abfe1ec (diff) |
x86/Documentation: Fix various typos in Documentation/x86/ files
Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: corbet@lwn.net
Cc: linux-doc@vger.kernel.org
Link: http://lkml.kernel.org/r/20160701034601.30308-1-standby24x7@gmail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
-rw-r--r-- | Documentation/x86/intel_mpx.txt | 6 | ||||
-rw-r--r-- | Documentation/x86/tlb.txt | 4 | ||||
-rw-r--r-- | Documentation/x86/x86_64/machinecheck | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/Documentation/x86/intel_mpx.txt b/Documentation/x86/intel_mpx.txt index 1a5a12184a35..85d0549ad846 100644 --- a/Documentation/x86/intel_mpx.txt +++ b/Documentation/x86/intel_mpx.txt | |||
@@ -45,7 +45,7 @@ is how we expect the compiler, application and kernel to work together. | |||
45 | MPX-instrumented. | 45 | MPX-instrumented. |
46 | 3) The kernel detects that the CPU has MPX, allows the new prctl() to | 46 | 3) The kernel detects that the CPU has MPX, allows the new prctl() to |
47 | succeed, and notes the location of the bounds directory. Userspace is | 47 | succeed, and notes the location of the bounds directory. Userspace is |
48 | expected to keep the bounds directory at that locationWe note it | 48 | expected to keep the bounds directory at that location. We note it |
49 | instead of reading it each time because the 'xsave' operation needed | 49 | instead of reading it each time because the 'xsave' operation needed |
50 | to access the bounds directory register is an expensive operation. | 50 | to access the bounds directory register is an expensive operation. |
51 | 4) If the application needs to spill bounds out of the 4 registers, it | 51 | 4) If the application needs to spill bounds out of the 4 registers, it |
@@ -167,7 +167,7 @@ If a #BR is generated due to a bounds violation caused by MPX. | |||
167 | We need to decode MPX instructions to get violation address and | 167 | We need to decode MPX instructions to get violation address and |
168 | set this address into extended struct siginfo. | 168 | set this address into extended struct siginfo. |
169 | 169 | ||
170 | The _sigfault feild of struct siginfo is extended as follow: | 170 | The _sigfault field of struct siginfo is extended as follow: |
171 | 171 | ||
172 | 87 /* SIGILL, SIGFPE, SIGSEGV, SIGBUS */ | 172 | 87 /* SIGILL, SIGFPE, SIGSEGV, SIGBUS */ |
173 | 88 struct { | 173 | 88 struct { |
@@ -240,5 +240,5 @@ them at the same bounds table. | |||
240 | This is allowed architecturally. See more information "Intel(R) Architecture | 240 | This is allowed architecturally. See more information "Intel(R) Architecture |
241 | Instruction Set Extensions Programming Reference" (9.3.4). | 241 | Instruction Set Extensions Programming Reference" (9.3.4). |
242 | 242 | ||
243 | However, if users did this, the kernel might be fooled in to unmaping an | 243 | However, if users did this, the kernel might be fooled in to unmapping an |
244 | in-use bounds table since it does not recognize sharing. | 244 | in-use bounds table since it does not recognize sharing. |
diff --git a/Documentation/x86/tlb.txt b/Documentation/x86/tlb.txt index 39d172326703..6a0607b99ed8 100644 --- a/Documentation/x86/tlb.txt +++ b/Documentation/x86/tlb.txt | |||
@@ -5,7 +5,7 @@ memory, it has two choices: | |||
5 | from areas other than the one we are trying to flush will be | 5 | from areas other than the one we are trying to flush will be |
6 | destroyed and must be refilled later, at some cost. | 6 | destroyed and must be refilled later, at some cost. |
7 | 2. Use the invlpg instruction to invalidate a single page at a | 7 | 2. Use the invlpg instruction to invalidate a single page at a |
8 | time. This could potentialy cost many more instructions, but | 8 | time. This could potentially cost many more instructions, but |
9 | it is a much more precise operation, causing no collateral | 9 | it is a much more precise operation, causing no collateral |
10 | damage to other TLB entries. | 10 | damage to other TLB entries. |
11 | 11 | ||
@@ -19,7 +19,7 @@ Which method to do depends on a few things: | |||
19 | work. | 19 | work. |
20 | 3. The size of the TLB. The larger the TLB, the more collateral | 20 | 3. The size of the TLB. The larger the TLB, the more collateral |
21 | damage we do with a full flush. So, the larger the TLB, the | 21 | damage we do with a full flush. So, the larger the TLB, the |
22 | more attrative an individual flush looks. Data and | 22 | more attractive an individual flush looks. Data and |
23 | instructions have separate TLBs, as do different page sizes. | 23 | instructions have separate TLBs, as do different page sizes. |
24 | 4. The microarchitecture. The TLB has become a multi-level | 24 | 4. The microarchitecture. The TLB has become a multi-level |
25 | cache on modern CPUs, and the global flushes have become more | 25 | cache on modern CPUs, and the global flushes have become more |
diff --git a/Documentation/x86/x86_64/machinecheck b/Documentation/x86/x86_64/machinecheck index b1fb30273286..d0648a74fceb 100644 --- a/Documentation/x86/x86_64/machinecheck +++ b/Documentation/x86/x86_64/machinecheck | |||
@@ -36,7 +36,7 @@ between all CPUs. | |||
36 | 36 | ||
37 | check_interval | 37 | check_interval |
38 | How often to poll for corrected machine check errors, in seconds | 38 | How often to poll for corrected machine check errors, in seconds |
39 | (Note output is hexademical). Default 5 minutes. When the poller | 39 | (Note output is hexadecimal). Default 5 minutes. When the poller |
40 | finds MCEs it triggers an exponential speedup (poll more often) on | 40 | finds MCEs it triggers an exponential speedup (poll more often) on |
41 | the polling interval. When the poller stops finding MCEs, it | 41 | the polling interval. When the poller stops finding MCEs, it |
42 | triggers an exponential backoff (poll less often) on the polling | 42 | triggers an exponential backoff (poll less often) on the polling |