summaryrefslogtreecommitdiffstats
path: root/kernel/memremap.c
diff options
context:
space:
mode:
authorChristoph Hellwig2019-06-26 14:27:06 +0200
committerJason Gunthorpe2019-07-02 19:32:44 +0200
commit0092908d16c604b8207c2141ec64b0fa4473bb03 (patch)
tree13b972659276b1deac4a9e93a7947432ba97a974 /kernel/memremap.c
parentmm: export alloc_pages_vma (diff)
downloadkernel-qcow2-linux-0092908d16c604b8207c2141ec64b0fa4473bb03.tar.gz
kernel-qcow2-linux-0092908d16c604b8207c2141ec64b0fa4473bb03.tar.xz
kernel-qcow2-linux-0092908d16c604b8207c2141ec64b0fa4473bb03.zip
mm: factor out a devm_request_free_mem_region helper
Keep the physical address allocation that hmm_add_device does with the rest of the resource code, and allow future reuse of it without the hmm wrapper. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Jason Gunthorpe <jgg@mellanox.com> Reviewed-by: John Hubbard <jhubbard@nvidia.com> Reviewed-by: Dan Williams <dan.j.williams@intel.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'kernel/memremap.c')
0 files changed, 0 insertions, 0 deletions