Kconfig 937 B

12345678910111213141516171819202122232425262728293031
  1. menuconfig DEV_DAX
  2. tristate "DAX: direct access to differentiated memory"
  3. default m if NVDIMM_DAX
  4. depends on TRANSPARENT_HUGEPAGE
  5. help
  6. Support raw access to differentiated (persistence, bandwidth,
  7. latency...) memory via an mmap(2) capable character
  8. device. Platform firmware or a device driver may identify a
  9. platform memory resource that is differentiated from the
  10. baseline memory pool. Mappings of a /dev/daxX.Y device impose
  11. restrictions that make the mapping behavior deterministic.
  12. if DEV_DAX
  13. config DEV_DAX_PMEM
  14. tristate "PMEM DAX: direct access to persistent memory"
  15. depends on LIBNVDIMM && NVDIMM_DAX
  16. default DEV_DAX
  17. help
  18. Support raw access to persistent memory. Note that this
  19. driver consumes memory ranges allocated and exported by the
  20. libnvdimm sub-system.
  21. Say Y if unsure
  22. config NR_DEV_DAX
  23. int "Maximum number of Device-DAX instances"
  24. default 32768
  25. range 256 2147483647
  26. endif