]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: kasan: Use actual memory node when populating the kernel image shadow
authorCatalin Marinas <catalin.marinas@arm.com>
Thu, 10 Mar 2016 18:30:56 +0000 (18:30 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 11 Mar 2016 11:03:34 +0000 (11:03 +0000)
commit0be6f8145fe07d646192f7587a0ab91cf1f1fb63
tree6e013a0bdec33f3f7deb2a50273179048f88c78b
parent6c1884f5466e777d32b30567237a2edf038d4607
arm64: kasan: Use actual memory node when populating the kernel image shadow

With the 16KB or 64KB page configurations, the generic
vmemmap_populate() implementation warns on potential offnode
page_structs via vmemmap_verify() because the arm64 kasan_init() passes
NUMA_NO_NODE instead of the actual node for the kernel image memory.

Fixes: 6c976f4a5153 ("arm64: move kernel image to base of vmalloc area")
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Reported-by: James Morse <james.morse@arm.com>
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
arch/arm64/mm/kasan_init.c