diff options
author | Bob Beck <beck@cvs.openbsd.org> | 2013-02-10 19:19:31 +0000 |
---|---|---|
committer | Bob Beck <beck@cvs.openbsd.org> | 2013-02-10 19:19:31 +0000 |
commit | 908af65a031a6c66a4ea6cdf9a3de36995a32655 (patch) | |
tree | fa3c562c3ac0a75058e79eb3491af8f53c0ffbde /sys/arch/zaurus | |
parent | a07be00052b783e66379af5b04c8c0d55fe04c46 (diff) |
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 'sys/arch/zaurus')
0 files changed, 0 insertions, 0 deletions