diff options
author | markj <markj@FreeBSD.org> | 2015-06-21 00:36:02 +0000 |
---|---|---|
committer | markj <markj@FreeBSD.org> | 2015-06-21 00:36:02 +0000 |
commit | 93e43c433dd31d17afecc5a78db42aec66e02b95 (patch) | |
tree | f7af9e7a2bba52068b518c8141057552d0d1a1dc /sys/kern/kern_exit.c | |
parent | 80271ba17a0de5498c2a73d03702f58804fd814b (diff) | |
download | FreeBSD-src-93e43c433dd31d17afecc5a78db42aec66e02b95.zip FreeBSD-src-93e43c433dd31d17afecc5a78db42aec66e02b95.tar.gz |
MFC r284127:
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.
Diffstat (limited to 'sys/kern/kern_exit.c')
0 files changed, 0 insertions, 0 deletions