Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 99677
b: refs/heads/master
c: 12031a6
h: refs/heads/master
i:
  99675: 744e490
v: v3
  • Loading branch information
Yinghai Lu authored and Thomas Gleixner committed May 25, 2008
1 parent dae3f1f commit 0ba2612
Show file tree
Hide file tree
Showing 4 changed files with 485 additions and 149 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f5098d62c1d1cede8ff23d01bbf50a421f110562
refs/heads/master: 12031a624af7816ec7660b82be648aa3703b4ebe
13 changes: 11 additions & 2 deletions trunk/Documentation/kernel-parameters.txt
Original file line number Diff line number Diff line change
Expand Up @@ -610,8 +610,17 @@ and is between 256 and 4096 characters. It is defined in the file
that could hold holes aka. UC entries.

mtrr_gran_size=nn[KMG] [X86]
used for mtrr cleanup. It is granity of mtrr block.
Big value could prevent small alignment use up MTRRs.
Used for mtrr cleanup. It is granularity of mtrr block.
Default is 1.
Large value could prevent small alignment from
using up MTRRs.

mtrr_spare_reg_nr=n [X86]
Format: <integer>
Range: 0,7 : spare reg number
Default : 1
Used for mtrr cleanup. It is spare mtrr entries number.
Set to 2 or more if your graphical card needs more.

disable_mtrr_trim [X86, Intel and AMD only]
By default the kernel will trim any uncacheable
Expand Down
9 changes: 9 additions & 0 deletions trunk/arch/x86/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1117,6 +1117,15 @@ config MTRR_SANITIZER_ENABLE_DEFAULT
help
Enable mtrr cleanup default value

config MTRR_SANITIZER_SPARE_REG_NR_DEFAULT
int "MTRR cleanup spare reg num (0-7)"
range 0 7
default "1"
depends on MTRR_SANITIZER
help
mtrr cleanup spare entries default, it can be changed via
mtrr_spare_reg_nr=

config X86_PAT
bool
prompt "x86 PAT support"
Expand Down
Loading

0 comments on commit 0ba2612

Please sign in to comment.