kib 2d39ccdd94 Lock the new map in vmspace_fork(). The newly allocated map should not
be accessible outside vmspace_fork() yet, but locking it would satisfy
the protocol of the vm_map_entry_link() and other functions called
from vmspace_fork().

Use trylock that is supposedly cannot fail, to silence WITNESS warning
of the nested acquisition of the sx lock with the same name.

Suggested and reviewed by:	tegge
2009-02-08 19:55:03 +00:00
..
2009-01-30 15:27:04 +00:00
2009-01-25 16:52:41 +00:00
2009-02-07 15:51:32 +00:00
2009-02-08 08:13:36 +00:00
2009-02-07 18:49:42 +00:00