Merge tag 'devdax-for-5.1' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm
Pull device-dax updates from Dan Williams: "New device-dax infrastructure to allow persistent memory and other "reserved" / performance differentiated memories, to be assigned to the core-mm as "System RAM". Some users want to use persistent memory as additional volatile memory. They are willing to cope with potential performance differences, for example between DRAM and 3D Xpoint, and want to use typical Linux memory management apis rather than a userspace memory allocator layered over an mmap() of a dax file. The administration model is to decide how much Persistent Memory (pmem) to use as System RAM, create a device-dax-mode namespace of that size, and then assign it to the core-mm. The rationale for device-dax is that it is a generic memory-mapping driver that can be layered over any "special purpose" memory, not just pmem. On subsequent boots udev rules can be used to restore the memo...
Showing
- Documentation/ABI/obsolete/sysfs-class-dax 22 additions, 0 deletionsDocumentation/ABI/obsolete/sysfs-class-dax
- arch/powerpc/platforms/pseries/papr_scm.c 1 addition, 0 deletionsarch/powerpc/platforms/pseries/papr_scm.c
- drivers/acpi/nfit/core.c 6 additions, 2 deletionsdrivers/acpi/nfit/core.c
- drivers/acpi/numa.c 1 addition, 0 deletionsdrivers/acpi/numa.c
- drivers/base/memory.c 1 addition, 0 deletionsdrivers/base/memory.c
- drivers/dax/Kconfig 27 additions, 1 deletiondrivers/dax/Kconfig
- drivers/dax/Makefile 4 additions, 2 deletionsdrivers/dax/Makefile
- drivers/dax/bus.c 503 additions, 0 deletionsdrivers/dax/bus.c
- drivers/dax/bus.h 61 additions, 0 deletionsdrivers/dax/bus.h
- drivers/dax/dax-private.h 24 additions, 10 deletionsdrivers/dax/dax-private.h
- drivers/dax/dax.h 0 additions, 18 deletionsdrivers/dax/dax.h
- drivers/dax/device-dax.h 0 additions, 25 deletionsdrivers/dax/device-dax.h
- drivers/dax/device.c 85 additions, 278 deletionsdrivers/dax/device.c
- drivers/dax/kmem.c 108 additions, 0 deletionsdrivers/dax/kmem.c
- drivers/dax/pmem.c 0 additions, 153 deletionsdrivers/dax/pmem.c
- drivers/dax/pmem/Makefile 7 additions, 0 deletionsdrivers/dax/pmem/Makefile
- drivers/dax/pmem/compat.c 73 additions, 0 deletionsdrivers/dax/pmem/compat.c
- drivers/dax/pmem/core.c 71 additions, 0 deletionsdrivers/dax/pmem/core.c
- drivers/dax/pmem/pmem.c 40 additions, 0 deletionsdrivers/dax/pmem/pmem.c
- drivers/dax/super.c 29 additions, 12 deletionsdrivers/dax/super.c
Please register or sign in to comment