diff options
author | Dan Williams <dan.j.williams@intel.com> | 2018-12-28 00:35:01 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-01-13 09:51:04 +0100 |
commit | c215c66ceab5673e7e813986279f18d718f9435d (patch) | |
tree | 7c07e0f3719e6c5e9478c8e78e39c4a9b4a1ed5b /mm | |
parent | ec5471c92fb29ad848c81875840478be201eeb3f (diff) | |
download | linux-stable-c215c66ceab5673e7e813986279f18d718f9435d.tar.gz linux-stable-c215c66ceab5673e7e813986279f18d718f9435d.tar.bz2 linux-stable-c215c66ceab5673e7e813986279f18d718f9435d.zip |
mm, devm_memremap_pages: add MEMORY_DEVICE_PRIVATE support
commit 69324b8f48339de2f90fdf2f774687fc6c47629a upstream.
In preparation for consolidating all ZONE_DEVICE enabling via
devm_memremap_pages(), teach it how to handle the constraints of
MEMORY_DEVICE_PRIVATE ranges.
[jglisse@redhat.com: call move_pfn_range_to_zone for MEMORY_DEVICE_PRIVATE]
Link: http://lkml.kernel.org/r/154275559036.76910.12434636179931292607.stgit@dwillia2-desk3.amr.corp.intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Reviewed-by: Jérôme Glisse <jglisse@redhat.com>
Acked-by: Christoph Hellwig <hch@lst.de>
Reported-by: Logan Gunthorpe <logang@deltatee.com>
Reviewed-by: Logan Gunthorpe <logang@deltatee.com>
Cc: Balbir Singh <bsingharora@gmail.com>
Cc: Michal Hocko <mhocko@suse.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions