aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/nvdimm/region_devs.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2015-12-14 15:34:15 -0800
committerDan Williams <dan.j.williams@intel.com>2015-12-24 12:20:20 -0800
commit0731de0dd95b251ed6cfb5f132486e52357fce53 (patch)
tree4a1702a7d2b60ff398af5e929850d70a1a990da0 /drivers/nvdimm/region_devs.c
parenttools/testing/libnvdimm: cleanup mock resource lookup (diff)
downloadlinux-dev-0731de0dd95b251ed6cfb5f132486e52357fce53.tar.xz
linux-dev-0731de0dd95b251ed6cfb5f132486e52357fce53.zip
libnvdimm, pfn: move 'memory mode' indication to sysfs
'Memory mode' is defined as the capability of a DAX mapping to be the source/target of DMA and other "direct I/O" scenarios. While it currently requires allocating 'struct page' for each page frame of persistent memory in the namespace it will not always be the case. Work continues on reducing the kernel's dependency on 'struct page'. Let's not maintain a suffix that is expected to lose meaning over time. In other words a future 'raw mode' pmem namespace may be as capable as today's 'memory mode' namespace. Undo the encoding of the mode in the device name and leave it to other tooling to determine the mode of the namespace from its attributes. Reported-by: Matthew Wilcox <willy@linux.intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/nvdimm/region_devs.c')
0 files changed, 0 insertions, 0 deletions