commit | c75fb63bb4ef88faaec9fa34d97aa13a72964bb1 | [log] [tgz] |
---|---|---|
author | Marco Elver <elver@google.com> | Mon Feb 10 15:56:39 2020 +0100 |
committer | Paul E. McKenney <paulmck@kernel.org> | Thu Feb 13 10:37:34 2020 -0800 |
tree | 039a0c0c3ab7ac51e707f0a63609a626ec16151e | |
parent | f6d100d97b4e29e89e2949519a7077fc1cfd670d [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>