Kconfig 950 B

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