aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mm/Kconfig25
1 files changed, 25 insertions, 0 deletions
diff --git a/mm/Kconfig b/mm/Kconfig
new file mode 100644
index 000000000000..69caa9d8674e
--- /dev/null
+++ b/mm/Kconfig
@@ -0,0 +1,25 @@
1choice
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