diff options
author | attilio <attilio@FreeBSD.org> | 2008-10-16 12:42:56 +0000 |
---|---|---|
committer | attilio <attilio@FreeBSD.org> | 2008-10-16 12:42:56 +0000 |
commit | 708fbd2d50b4d81ed23c54f3f5a96dbd26e07d06 (patch) | |
tree | ba0724a568f1811b508a9e75b91f0240947d7921 /gnu | |
parent | 6915b07d7e313bc4948ebe3e98bfd5c8a533775e (diff) | |
download | FreeBSD-src-708fbd2d50b4d81ed23c54f3f5a96dbd26e07d06.zip FreeBSD-src-708fbd2d50b4d81ed23c54f3f5a96dbd26e07d06.tar.gz |
- Fix a race in witness_checkorder() where, between the PCPU_GET() and
PCPU_PTR() curthread can migrate on another CPU and get incorrect
results.
- Fix a similar race into witness_warn().
- Fix the interlock's checks bypassing by correctly using the appropriate
children even when the lock_list chunk to be explored is not the first
one.
- Allow witness_warn() to work with spinlocks too.
Bugs found by: tegge
Submitted by: jhb, tegge
Tested by: Giovanni Trematerra <giovanni dot trematerra at gmail dot com>
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions