Re: [PATCH 14/17] memremap: simplify duplicate region handling in devm_memremap_pages

From: Christoph Hellwig
Date: Tue Dec 19 2017 - 10:03:43 EST


On Sun, Dec 17, 2017 at 09:34:11AM -0800, Dan Williams wrote:
> This is not racy, we'll catch the error on insert, and I think the
> extra debug information is useful for debugging a broken memory map or
> alignment math.

We can check for -ÐEXIST and print the warning, but it's a weird pattern
for sure.