Dave Hansen | 3a9da76 | 2005-06-23 00:07:42 -0700 | [diff] [blame] | 1 | choice |
| 2 | prompt "Memory model" |
Dave Hansen | 3a9da76 | 2005-06-23 00:07:42 -0700 | [diff] [blame] | 3 | default DISCONTIGMEM if ARCH_DISCONTIGMEM_DEFAULT |
Dave Hansen | 44d0f80 | 2005-06-23 00:07:47 -0700 | [diff] [blame] | 4 | default FLATMEM |
Dave Hansen | 3a9da76 | 2005-06-23 00:07:42 -0700 | [diff] [blame] | 5 | |
| 6 | config 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 | |
| 17 | config DISCONTIGMEM |
| 18 | bool "Discontigious Memory" |
| 19 | depends on ARCH_DISCONTIGMEM_ENABLE |
| 20 | help |
| 21 | If unsure, choose "Flat Memory" over this option. |
| 22 | |
| 23 | endchoice |
| 24 | |
Dave Hansen | 93b7504 | 2005-06-23 00:07:47 -0700 | [diff] [blame] | 25 | # |
| 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 | # |
| 30 | config NEED_MULTIPLE_NODES |
| 31 | def_bool y |
| 32 | depends on DISCONTIGMEM || NUMA |