summaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/pgtable.h
diff options
context:
space:
mode:
authorVasily Gorbik2017-11-17 18:22:24 +0100
committerMartin Schwidefsky2018-10-09 11:21:23 +0200
commit793213a82de4ccc96f394ea5deaaf57c0bb01f0b (patch)
tree49afe68d1ca1ed84868329f647fee2483f3ebb62 /arch/s390/include/asm/pgtable.h
parents390/mm: add kasan shadow to the debugfs pgtable dump (diff)
downloadkernel-qcow2-linux-793213a82de4ccc96f394ea5deaaf57c0bb01f0b.tar.gz
kernel-qcow2-linux-793213a82de4ccc96f394ea5deaaf57c0bb01f0b.tar.xz
kernel-qcow2-linux-793213a82de4ccc96f394ea5deaaf57c0bb01f0b.zip
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>
Diffstat (limited to 'arch/s390/include/asm/pgtable.h')
0 files changed, 0 insertions, 0 deletions