Kconfig 852 B

1234567891011121314151617181920212223242526272829303132
  1. choice
  2. prompt "Memory model"
  3. default DISCONTIGMEM if ARCH_DISCONTIGMEM_DEFAULT
  4. default FLATMEM
  5. config FLATMEM
  6. bool "Flat Memory"
  7. depends on !ARCH_DISCONTIGMEM_ENABLE || ARCH_FLATMEM_ENABLE
  8. help
  9. This option allows you to change some of the ways that
  10. Linux manages its memory internally. Most users will
  11. only have one option here: FLATMEM. This is normal
  12. and a correct option.
  13. If unsure, choose this option over any other.
  14. config DISCONTIGMEM
  15. bool "Discontigious Memory"
  16. depends on ARCH_DISCONTIGMEM_ENABLE
  17. help
  18. If unsure, choose "Flat Memory" over this option.
  19. endchoice
  20. #
  21. # Both the NUMA code and DISCONTIGMEM use arrays of pg_data_t's
  22. # to represent different areas of memory. This variable allows
  23. # those dependencies to exist individually.
  24. #
  25. config NEED_MULTIPLE_NODES
  26. def_bool y
  27. depends on DISCONTIGMEM || NUMA