diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-06-05 10:04:35 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-06-05 10:04:35 +0000 |
commit | 6e87bc920503f04dae8b6c5d227d1ea176d518c2 (patch) | |
tree | b40d417675f8af40f5c5c8d4761e27d448bd729c /usr.sbin | |
parent | 46b2ec7d596a6515a3608a115c40d799bb042901 (diff) |
Replace the per-entry locks by a global HASH lock.
Since this lock is recursive we can now guarantee the atomicity of
pte_inser{32,64}() when a pted has to be removed first. This fixes
one of the races.
Using a __mp_lock here also allowed dlg@ to provide me useful traces
to fix the next race. Thanks for your help!
ok kettenis@, deraadt@, dlg@
Diffstat (limited to 'usr.sbin')
0 files changed, 0 insertions, 0 deletions