]> git.baikalelectronics.ru Git - kernel.git/commit
libnvdimm, pfn, pmem: allocate memmap array in persistent memory
authorDan Williams <dan.j.williams@intel.com>
Sat, 16 Jan 2016 00:56:26 +0000 (16:56 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 16 Jan 2016 01:56:32 +0000 (17:56 -0800)
commit803a625a614f57444a54942389be0140a18cfdf1
treeea5872316fdab194db4faa7a322c6d50652a1c72
parent592fb6554dc61ea7bd86624a6b6a9ab2828bd6c9
libnvdimm, pfn, pmem: allocate memmap array in persistent memory

Use the new vmem_altmap capability to enable the pmem driver to arrange
for a struct page memmap to be established in persistent memory.

[linux@roeck-us.net: mn10300: declare __pfn_to_phys() to fix build error]
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Dave Chinner <david@fromorbit.com>
Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/ia64/include/asm/page.h
arch/mn10300/include/asm/page.h
drivers/nvdimm/pfn_devs.c
drivers/nvdimm/pmem.c