Re: [PATCH 01/11] mm, devm_memremap_pages: use multi-order radix for ZONE_DEVICE lookups

2016-12-07 Thread Dan Williams
On Thu, Dec 1, 2016 at 2:29 PM, Dan Williams wrote: > devm_memremap_pages() records mapped ranges in pgmap_radix with a entry > per section's worth of memory (128MB). The key for each of those entries is > a section number. > > This leads to false positives when devm_memremap_pages() is passed a

[PATCH 01/11] mm, devm_memremap_pages: use multi-order radix for ZONE_DEVICE lookups

2016-12-01 Thread Dan Williams
devm_memremap_pages() records mapped ranges in pgmap_radix with a entry per section's worth of memory (128MB). The key for each of those entries is a section number. This leads to false positives when devm_memremap_pages() is passed a section-unaligned range as lookups in the misalignment fail to