]> Git Repo - linux.git/commit
s390/kasan: support preemptible kernel build
authorVasily Gorbik <[email protected]>
Fri, 19 Oct 2018 10:13:58 +0000 (12:13 +0200)
committerMartin Schwidefsky <[email protected]>
Mon, 22 Oct 2018 06:37:45 +0000 (08:37 +0200)
commitcf3dbe5dacb3a95d497ace9c714306d17cb05b11
tree0b4bb870e5d7c0c09e1a7e8fb797f08530745297
parent63c19be095d0f8eb8992674991e44b4228bd4179
s390/kasan: support preemptible kernel build

When the kernel is built with:
CONFIG_PREEMPT=y
CONFIG_PREEMPT_COUNT=y
"stfle" function used by kasan initialization code makes additional
call to preempt_count_add/preempt_count_sub. To avoid removing kasan
instrumentation from sched code where those functions leave split stfle
function and provide __stfle variant without preemption handling to be
used by Kasan.

Reported-by: Benjamin Block <[email protected]>
Acked-by: Heiko Carstens <[email protected]>
Signed-off-by: Vasily Gorbik <[email protected]>
Signed-off-by: Martin Schwidefsky <[email protected]>
arch/s390/include/asm/facility.h
arch/s390/mm/kasan_init.c
This page took 0.068949 seconds and 4 git commands to generate.