Kconfig 897 B

123456789101112131415161718192021222324252627282930313233
  1. choice
  2. prompt "Memory model"
  3. default FLATMEM
  4. default SPARSEMEM if ARCH_SPARSEMEM_DEFAULT
  5. default DISCONTIGMEM if ARCH_DISCONTIGMEM_DEFAULT
  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. If unsure, choose this option over any other.
  15. config DISCONTIGMEM
  16. bool "Discontigious Memory"
  17. depends on ARCH_DISCONTIGMEM_ENABLE
  18. help
  19. If unsure, choose "Flat Memory" over this option.
  20. endchoice
  21. #
  22. # Both the NUMA code and DISCONTIGMEM use arrays of pg_data_t's
  23. # to represent different areas of memory. This variable allows
  24. # those dependencies to exist individually.
  25. #
  26. config NEED_MULTIPLE_NODES
  27. def_bool y
  28. depends on DISCONTIGMEM || NUMA