CVSROOT:        /cvs
Module name:    src
Changes by:     m...@cvs.openbsd.org    2021/08/30 10:59:17

Modified files:
        sys/uvm        : uvm_amap.c 

Log message:
Fix a locking assertion in error path.

In amap_copy() make the new amap share the source amap's lock right in
the begining and only allocate a new one if no anon have been referenced.

Issue reported by Thomas L. <tom.longshine at web dot de> on bugs@.

ok tb@

Reply via email to