summaryrefslogtreecommitdiffstats
path: root/usr.sbin/nginx/src/pcre/pcre_study.c
diff options
context:
space:
mode:
authorbeck <beck@openbsd.org>2013-02-10 19:19:30 +0000
committerbeck <beck@openbsd.org>2013-02-10 19:19:30 +0000
commit16cffe1d5f878405442eaf762acc7b11eb0a0311 (patch)
tree332732e5a12d1d936fb6441d5b762cf07e38dc92 /usr.sbin/nginx/src/pcre/pcre_study.c
parentremove some unneeded Xo/Xc. (diff)
downloadwireguard-openbsd-16cffe1d5f878405442eaf762acc7b11eb0a0311.tar.xz
wireguard-openbsd-16cffe1d5f878405442eaf762acc7b11eb0a0311.zip
Don't wait for memory from pool while holding vm_map_lock or we can
deadlock ourselves - based on an infrequent hang caught by sthen, and diagnosed by kettenis and me. Fix after some iterations is to simply call uvm_map_allocate and allocate the map entry before grabbing the lock so we don't wait while holding the lock. ok miod@ kettenis@
Diffstat (limited to 'usr.sbin/nginx/src/pcre/pcre_study.c')
0 files changed, 0 insertions, 0 deletions