summaryrefslogtreecommitdiffstats
path: root/drivers/dax
diff options
context:
space:
mode:
authorChristoph Hellwig2019-06-26 14:27:14 +0200
committerJason Gunthorpe2019-07-02 19:32:44 +0200
commit24917f6b1041a73993178920656e13364f847995 (patch)
tree3257cca350460fae4d73b136b5de7c1c91d4915a /drivers/dax
parentmemremap: replace the altmap_valid field with a PGMAP_ALTMAP_VALID flag (diff)
downloadkernel-qcow2-linux-24917f6b1041a73993178920656e13364f847995.tar.gz
kernel-qcow2-linux-24917f6b1041a73993178920656e13364f847995.tar.xz
kernel-qcow2-linux-24917f6b1041a73993178920656e13364f847995.zip
memremap: provide an optional internal refcount in struct dev_pagemap
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>
Diffstat (limited to 'drivers/dax')
0 files changed, 0 insertions, 0 deletions