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