diff options
| author | 2013-02-10 19:19:30 +0000 | |
|---|---|---|
| committer | 2013-02-10 19:19:30 +0000 | |
| commit | 16cffe1d5f878405442eaf762acc7b11eb0a0311 (patch) | |
| tree | 332732e5a12d1d936fb6441d5b762cf07e38dc92 /usr.sbin/nginx/src/pcre/pcre_study.c | |
| parent | remove some unneeded Xo/Xc. (diff) | |
| download | wireguard-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
