summaryrefslogtreecommitdiffstats
path: root/block/blk-pm.h
diff options
context:
space:
mode:
authorRohan McLure <rmclure@linux.ibm.com>2023-02-06 13:17:58 +1100
committerMichael Ellerman <mpe@ellerman.id.au>2023-02-10 22:19:56 +1100
commit2a7ce82dc46c591c9244057d89a6591c9639b9b9 (patch)
treeb974bee0b27aae9971095592dcbd58572c2728e9 /block/blk-pm.h
parent2fb857bc9f9e106439017ed323f522cc785395bb (diff)
downloadlinux-stable-2a7ce82dc46c591c9244057d89a6591c9639b9b9.tar.gz
linux-stable-2a7ce82dc46c591c9244057d89a6591c9639b9b9.tar.bz2
linux-stable-2a7ce82dc46c591c9244057d89a6591c9639b9b9.zip
powerpc/kcsan: Exclude udelay to prevent recursive instrumentation
In order for KCSAN to increase its likelihood of observing a data race, it sets a watchpoint on memory accesses and stalls, allowing for detection of conflicting accesses by other kernel threads or interrupts. Stalls are implemented by injecting a call to udelay in instrumented code. To prevent recursive instrumentation, exclude udelay from being instrumented. Signed-off-by: Rohan McLure <rmclure@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20230206021801.105268-3-rmclure@linux.ibm.com
Diffstat (limited to 'block/blk-pm.h')
0 files changed, 0 insertions, 0 deletions