Kconfig 957 B

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