kib cf53f19d89 When deallocating the vm object in elf_map_insert() due to
vm_map_insert() failure, drop the vnode lock around the call to
vm_object_deallocate().

Since the deallocated object is the vm object of the vnode, we might
get the vnode lock recursion there.  In fact, it is almost impossible
to make vm_map_insert() failing there on stock kernel.

Tested by:	pho
Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks
2017-03-01 10:22:07 +00:00
..
2016-10-04 17:57:30 +00:00
2016-11-08 23:59:41 +00:00
2017-02-12 09:49:44 +00:00
2017-01-25 20:22:32 +00:00
2017-02-14 13:54:05 +00:00
2017-02-23 19:36:38 +00:00
2017-02-16 21:18:31 +00:00
2017-02-16 21:18:31 +00:00
2016-11-08 23:59:41 +00:00
2017-02-07 16:01:07 +00:00
2016-10-24 16:40:27 +00:00
2017-01-14 04:16:13 +00:00
2016-12-27 20:22:17 +00:00
2016-07-26 17:23:49 +00:00
2016-04-14 17:07:26 +00:00
2017-02-13 09:04:38 +00:00