summaryrefslogtreecommitdiffstats
path: root/mm/slab.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2016-03-09 14:08:13 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2016-03-09 15:43:42 -0800
commit5f29a77cd95771edebbf41e5800fdd557c69302a (patch)
tree9358ffafdb0863e77d19166ca09b78cb76803287 /mm/slab.c
parentd77a117e6871ff78a06def46583d23752593de60 (diff)
downloadlinux-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