2005-06-23 09:07:42 +02:00
|
|
|
choice
|
|
|
|
prompt "Memory model"
|
|
|
|
default FLATMEM
|
|
|
|
default SPARSEMEM if ARCH_SPARSEMEM_DEFAULT
|
|
|
|
default DISCONTIGMEM if ARCH_DISCONTIGMEM_DEFAULT
|
|
|
|
|
|
|
|
config FLATMEM
|
|
|
|
bool "Flat Memory"
|
|
|
|
depends on !ARCH_DISCONTIGMEM_ENABLE || ARCH_FLATMEM_ENABLE
|
|
|
|
help
|
|
|
|
This option allows you to change some of the ways that
|
|
|
|
Linux manages its memory internally. Most users will
|
|
|
|
only have one option here: FLATMEM. This is normal
|
|
|
|
and a correct option.
|
|
|
|
|
|
|
|
If unsure, choose this option over any other.
|
|
|
|
|
|
|
|
config DISCONTIGMEM
|
|
|
|
bool "Discontigious Memory"
|
|
|
|
depends on ARCH_DISCONTIGMEM_ENABLE
|
|
|
|
help
|
|
|
|
If unsure, choose "Flat Memory" over this option.
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
2005-06-23 09:07:47 +02:00
|
|
|
#
|
|
|
|
# Both the NUMA code and DISCONTIGMEM use arrays of pg_data_t's
|
|
|
|
# to represent different areas of memory. This variable allows
|
|
|
|
# those dependencies to exist individually.
|
|
|
|
#
|
|
|
|
config NEED_MULTIPLE_NODES
|
|
|
|
def_bool y
|
|
|
|
depends on DISCONTIGMEM || NUMA
|