Backout previous "Assert vm map locks" (commitid: sRNBfzX2dJrxFDmb)
authorkn <kn@openbsd.org>
Fri, 11 Feb 2022 09:25:04 +0000 (09:25 +0000)
committerkn <kn@openbsd.org>
Fri, 11 Feb 2022 09:25:04 +0000 (09:25 +0000)
commitd822d85f035cb262fe65cdb8bd4763811123cf40
tree9fb5b934c03227a4d7fea98fabe09770dc6ee1b8
parentdf61dccf7e80f10e3784324b2048af784645280e
Backout previous "Assert vm map locks" (commitid: sRNBfzX2dJrxFDmb)

WITNESS builds broke as reported by anton and bluhm:

root on sd0a (5ec49b3ad23eb2d4.a) swap on sd0b dump on sd0b
kernel: protection fault trap, code=0
Stopped at      witness_checkorder+0x4ec:       movl    0x10(%r12),%ecx

https://syzkaller.appspot.com/bug?id=be02b290a93c648986c35370a271aad4135a5044
https://syzkaller.appspot.com/text?tag=CrashLog&x=136e9aa4700000
sys/uvm/uvm_fault.c
sys/uvm/uvm_map.c
sys/uvm/uvm_map.h