diff options
author | Dan Williams <dan.j.williams@intel.com> | 2016-03-09 14:08:13 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-03-09 15:43:42 -0800 |
commit | 5f29a77cd95771edebbf41e5800fdd557c69302a (patch) | |
tree | 9358ffafdb0863e77d19166ca09b78cb76803287 /mm/slab.c | |
parent | d77a117e6871ff78a06def46583d23752593de60 (diff) | |
download | linux-5f29a77cd95771edebbf41e5800fdd557c69302a.tar.gz linux-5f29a77cd95771edebbf41e5800fdd557c69302a.tar.bz2 linux-5f29a77cd95771edebbf41e5800fdd557c69302a.zip |
mm: fix mixed zone detection in devm_memremap_pages
The check for whether we overlap "System RAM" needs to be done at
section granularity. For example a system with the following mapping:
100000000-37bffffff : System RAM
37c000000-837ffffff : Persistent Memory
...is unable to use devm_memremap_pages() as it would result in two
zones colliding within a given section.
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
Reviewed-by: Toshi Kani <toshi.kani@hpe.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/slab.c')
0 files changed, 0 insertions, 0 deletions