Provide an internal refcounting logic if no ->ref field is provided in the pagemap passed into devm_memremap_pages so that callers don't have to reinvent it poorly. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Ira Weiny <ira.weiny@intel.com> Reviewed-by: Dan Williams <dan.j.williams@intel.com> Tested-by: Dan Williams <dan.j.williams@intel.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com> |
||
|---|---|---|
| .. | ||
| test | ||
| Kbuild | ||
| Makefile | ||
| acpi_nfit_test.c | ||
| config_check.c | ||
| dax-dev.c | ||
| dax_pmem_compat_test.c | ||
| dax_pmem_core_test.c | ||
| dax_pmem_test.c | ||
| device_dax_test.c | ||
| dimm_devs.c | ||
| libnvdimm_test.c | ||
| pmem-dax.c | ||
| pmem_test.c | ||
| watermark.h | ||