diff options
author | markj <markj@FreeBSD.org> | 2015-06-07 18:59:47 +0000 |
---|---|---|
committer | markj <markj@FreeBSD.org> | 2015-06-07 18:59:47 +0000 |
commit | 575c540dc2d0f263ea19d147ceb2e57c2859fbbd (patch) | |
tree | 4508b7fa7a7dd9b1f697c846516e08aae03dc2b1 /contrib/llvm/tools/clang/lib/CodeGen | |
parent | 28b61e032c63beebeadd5138f2f4c967cd25d6a8 (diff) | |
download | FreeBSD-src-575c540dc2d0f263ea19d147ceb2e57c2859fbbd.zip FreeBSD-src-575c540dc2d0f263ea19d147ceb2e57c2859fbbd.tar.gz |
witness: don't warn about matrix inconsistencies without holding the mutex
Lock order checking is done without the witness mutex held, so multiple
threads that are racing to establish a new lock order may read matrix
entries that are in an inconsistent state. Don't print a warning in this
case, but instead just redo the check after taking the witness lock.
Differential Revision: https://reviews.freebsd.org/D2713
Reviewed by: jhb
MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'contrib/llvm/tools/clang/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions