summaryrefslogtreecommitdiff
path: root/include/linux/kcsan.h
diff options
context:
space:
mode:
authorMarco Elver <elver@google.com>2020-02-10 15:56:39 +0100
committerIngo Molnar <mingo@kernel.org>2020-03-21 09:43:41 +0100
commit3a5b45e5031fa395ab6e53545fb726b2d5b104f0 (patch)
tree311b9c0dc636cd1f33a077372e14ed9153014bd1 /include/linux/kcsan.h
parent80d4c4775216602ccdc9e761ce251c8451d0c6ca (diff)
kcsan: Fix misreporting if concurrent races on same address
If there are at least 4 threads racing on the same address, it can happen that one of the readers may observe another matching reader in other_info. To avoid locking up, we have to consume 'other_info' regardless, but skip the report. See the added comment for more details. Signed-off-by: Marco Elver <elver@google.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org> Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/kcsan.h')
0 files changed, 0 insertions, 0 deletions