summaryrefslogtreecommitdiffstats
path: root/kernel/sys_ni.c
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 /kernel/sys_ni.c
parentkcsan: Expose core configuration parameters as module params (diff)
downloadlinux-3a5b45e5031fa395ab6e53545fb726b2d5b104f0.tar.xz
linux-3a5b45e5031fa395ab6e53545fb726b2d5b104f0.zip
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 'kernel/sys_ni.c')
0 files changed, 0 insertions, 0 deletions