Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 146795
b: refs/heads/master
c: ad3256e
h: refs/heads/master
i:
  146793: 12d39ff
  146791: 9e7cdd1
v: v3
  • Loading branch information
Paul Mundt committed May 14, 2009
1 parent 1283bea commit 2d449fb
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8be5f1a68f2c14082939dd54e7037dcee2eb54f8
refs/heads/master: ad3256e361663923342bff7f292dd289f794aa33
23 changes: 23 additions & 0 deletions trunk/arch/sh/mm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,29 @@ config PAGE_OFFSET
default "0x20000000" if MMU && SUPERH64
default "0x00000000"

config FORCE_MAX_ZONEORDER
int "Maximum zone order"
range 9 64 if PAGE_SIZE_16KB
default "9" if PAGE_SIZE_16KB
range 7 64 if PAGE_SIZE_64KB
default "7" if PAGE_SIZE_64KB
range 11 64
default "14" if !MMU
default "11"
help
The kernel memory allocator divides physically contiguous memory
blocks into "zones", where each zone is a power of two number of
pages. This option selects the largest power of two that the kernel
keeps in the memory allocator. If you need to allocate very large
blocks of physically contiguous memory, then you may need to
increase this value.

This config option is actually maximum order plus one. For example,
a value of 11 means that the largest free memory block is 2^10 pages.

The page size is not necessarily 4KB. Keep this in mind when
choosing a value for this option.

config MEMORY_START
hex "Physical memory start address"
default "0x08000000"
Expand Down

0 comments on commit 2d449fb

Please sign in to comment.