blob: 15c131393639b50e5bba400aaa73cdc1756af6f1 [file] [log] [blame]
Dave Hansen3a9da762005-06-23 00:07:42 -07001choice
2 prompt "Memory model"
3 default FLATMEM
4 default SPARSEMEM if ARCH_SPARSEMEM_DEFAULT
5 default DISCONTIGMEM if ARCH_DISCONTIGMEM_DEFAULT
6
7config FLATMEM
8 bool "Flat Memory"
9 depends on !ARCH_DISCONTIGMEM_ENABLE || ARCH_FLATMEM_ENABLE
10 help
11 This option allows you to change some of the ways that
12 Linux manages its memory internally. Most users will
13 only have one option here: FLATMEM. This is normal
14 and a correct option.
15
16 If unsure, choose this option over any other.
17
18config DISCONTIGMEM
19 bool "Discontigious Memory"
20 depends on ARCH_DISCONTIGMEM_ENABLE
21 help
22 If unsure, choose "Flat Memory" over this option.
23
24endchoice
25
Dave Hansen93b75042005-06-23 00:07:47 -070026#
27# Both the NUMA code and DISCONTIGMEM use arrays of pg_data_t's
28# to represent different areas of memory. This variable allows
29# those dependencies to exist individually.
30#
31config NEED_MULTIPLE_NODES
32 def_bool y
33 depends on DISCONTIGMEM || NUMA