Re: [PATCH] kernel/memremap, kasan: Make ZONE_DEVICE with work with KASAN

2018-06-25 Thread kbuild test robot
Hi Andrey, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.18-rc2] [cannot apply to next-20180625] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0da

Re: [PATCH] kernel/memremap, kasan: Make ZONE_DEVICE with work with KASAN

2018-06-25 Thread kbuild test robot
Hi Andrey, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.18-rc2] [cannot apply to next-20180625] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0da

[PATCH] kernel/memremap, kasan: Make ZONE_DEVICE with work with KASAN

2018-06-25 Thread Andrey Ryabinin
KASAN learns about hot added memory via the memory hotplug notifier. The devm_memremap_pages() intentionally skips calling memory hotplug notifiers. So KASAN doesn't know anything about new memory added by devm_memremap_pages(). This causes to crash when KASAN tries to access non-existent shadow me