summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2015-06-05 10:04:35 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2015-06-05 10:04:35 +0000
commit6e87bc920503f04dae8b6c5d227d1ea176d518c2 (patch)
treeb40d417675f8af40f5c5c8d4761e27d448bd729c /usr.sbin
parent46b2ec7d596a6515a3608a115c40d799bb042901 (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