OpenBSD cvs log

created 2021-10-12T22:46:50Z
begin 2021-09-13T00:00:00Z
end 2021-09-14T00:00:00Z
path src/sys
commits 5

date 2021-09-13T04:02:15Z
author deraadt
files src/sys/conf/newvers.sh log diff annotate
src/sys/sys/param.h log diff annotate
message take us out of beta

date 2021-09-13T09:57:48Z
author jmatthew
files src/sys/arch/amd64/conf/GENERIC log diff annotate
src/sys/arch/amd64/conf/RAMDISK_CD log diff annotate
message Enable uaq(4) on amd64. Investigations into problems on other platforms
are ongoing.

date 2021-09-13T12:16:43Z
author visa
files src/sys/arch/mips64/mips64/pmap.c log diff annotate
message Consistently use unsigned long for CPU masks in pmap.c.

date 2021-09-13T12:19:10Z
author visa
files src/sys/arch/mips64/mips64/pmap.c log diff annotate
message Remember to lock user pmap in pmap_extract()

pmap_extract() has to lock user pmap to prevent concurrent pruning
of the page table. The kernel pmap is exempt from this because it uses
a fixed page table structure.

date 2021-09-13T22:16:27Z
author dv
files src/sys/arch/amd64/amd64/vmm.c log diff annotate
src/sys/arch/amd64/include/vmmvar.h log diff annotate
message vmm(4): add limit to number of vcpus

After fixing previous syzbot issues related to lock contention, the reproducer code managed to hit an issue where it can exhaust kernel memory by allocating vcpus. Since each vcpu (regardless if it's SVM or VMX-capable) requires wiring some number of pages of memory, it was possible to starve other parts of the kernel.

This change limits the total number of vcpus to 512, a conservative number given vmm(4) only supports single vcpu guests at the moment.

ok mlarkin@