Home
last modified time | relevance | path

Searched hist:"793213 a82de4ccc96f394ea5deaaf57c0bb01f0b" (Results 1 – 1 of 1) sorted by relevance

/linux/arch/s390/kernel/
H A Dmodule.cdiff 793213a82de4ccc96f394ea5deaaf57c0bb01f0b Fri Nov 17 18:22:24 CET 2017 Vasily Gorbik <gor@linux.ibm.com> s390/kasan: dynamic shadow mem allocation for modules

Move from modules area entire shadow memory preallocation to dynamic
allocation per module load.

This behaivior has been introduced for x86 with bebf56a1b: "This patch
also forces module_alloc() to return 8*PAGE_SIZE aligned address making
shadow memory handling ( kasan_module_alloc()/kasan_module_free() )
more simple. Such alignment guarantees that each shadow page backing
modules address space correspond to only one module_alloc() allocation"

Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>