summaryrefslogtreecommitdiffstats
path: root/lib/libsqlite3/src/os_win.c
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2015-03-10 20:12:39 +0000
committerkettenis <kettenis@openbsd.org>2015-03-10 20:12:39 +0000
commit0c33c81e395e2f8cf11e15e45cc8993870980305 (patch)
treee0e822c64cdcde1936775ca1d33eef09b367e594 /lib/libsqlite3/src/os_win.c
parentDisable db file. It is believed to be a saner default for the common (diff)
downloadwireguard-openbsd-0c33c81e395e2f8cf11e15e45cc8993870980305.tar.xz
wireguard-openbsd-0c33c81e395e2f8cf11e15e45cc8993870980305.zip
Make the amd64 pmap (more) mpsafe by protecting both the pmap itself and the
pv lists with a mutex. Rearange some code to avoid sleeping/spinning with one of these locks held, and also take care that we don't allocate/free any memory in that case. This should make pmap_enter(9), pmap_remove(9) and pmap_page_protect(9) safe to use without holding the kernel lock. Other architectures will follow. ok mlarkin@, deraadt@
Diffstat (limited to 'lib/libsqlite3/src/os_win.c')
0 files changed, 0 insertions, 0 deletions