diff options
author | 2015-07-02 16:14:43 +0000 | |
---|---|---|
committer | 2015-07-02 16:14:43 +0000 | |
commit | d8077578b0c4d0943790f9bb75f948586c8386df (patch) | |
tree | 0fda27ed8f42f8a4c6ea6cb95f166c0250195105 /usr.bin/ssh/ssh-add.c | |
parent | remove new_categories variable from global. (diff) | |
download | wireguard-openbsd-d8077578b0c4d0943790f9bb75f948586c8386df.tar.xz wireguard-openbsd-d8077578b0c4d0943790f9bb75f948586c8386df.zip |
Make the i386 pmap (almost) mpsafe by protecting the pmap itself, the pv
lists and the apte with a mutex. Rearrange some code to avoid
sleeping/spinning with one of these locks held. This should make
pmap_enter(9), pmap_remove(9) and pmap_page_protect(9) safe to use without
holding the kernel lock. Unfortunately there still seems to be an issue
that causes deadlocks under pressure. That shouldn't be an issue as
long as uvm still calls the pmap functions with the kernel lock held.
Hopefully committed this will help finding the last bugs.
ok mlarkin@, deraadt@
Diffstat (limited to 'usr.bin/ssh/ssh-add.c')
0 files changed, 0 insertions, 0 deletions