Kconfig 1012 字节
Newer Older
1
menuconfig DAX
2
	tristate "DAX: direct access to differentiated memory"
3
	select SRCU
4
	default m if NVDIMM_DAX
5 6 7 8 9

if DAX

config DEV_DAX
	tristate "Device DAX: direct access mapping device"
10
	depends on TRANSPARENT_HUGEPAGE
11 12 13 14 15 16 17 18 19 20 21
	help
	  Support raw access to differentiated (persistence, bandwidth,
	  latency...) memory via an mmap(2) capable character
	  device.  Platform firmware or a device driver may identify a
	  platform memory resource that is differentiated from the
	  baseline memory pool.  Mappings of a /dev/daxX.Y device impose
	  restrictions that make the mapping behavior deterministic.


config DEV_DAX_PMEM
	tristate "PMEM DAX: direct access to persistent memory"
22
	depends on LIBNVDIMM && NVDIMM_DAX
23 24 25 26 27 28 29 30
	default DEV_DAX
	help
	  Support raw access to persistent memory.  Note that this
	  driver consumes memory ranges allocated and exported by the
	  libnvdimm sub-system.

	  Say Y if unsure

D
Dan Williams 已提交
31 32 33 34 35
config NR_DEV_DAX
	int "Maximum number of Device-DAX instances"
	default 32768
	range 256 2147483647

36
endif