It's -current from 29th, you see I built it myself in the dmesg.
Den mån 30 nov. 2026 kl 12:07 skrev Atanas Vladimirov <[email protected]>: > Hi, > > My reply is just a question - I'm curious: where did you find a snapshot > from Nov 29? > Thanks :)! > > On 2026-11-30 10:49, Janne Johansson wrote: > > OCR'd text: > > > > login: panic: kernel diagnostic assertion "anon != NULL" failed: file > > "/usr/src/sys/uvm/uvm_pdaemon.c", line 352 > > Stopped at db_enter+0x14: popq %rbp > > TID PID UID PRFLAGS PFLAGS CPU COMMAND > > 357479 17323 0 0x100003 0 2 grep > > 134409 77943 669 0x1000010 0 6 rsync > > 278251 96847 669 0x1000010 0 1 rsync > > 365089 38309 669 0x1000010 0 7 rsync > > 506310 44542 67 0x1100012 0 0 httpd > > *517808 2502 0 0x14000 0x200 3K pagedaemon > > db_enter() at db_enter+0x14 > > panic(ffffffff826d12a7) at panic+0xd5 > > __assert(ffffffff8270c5cf,ffffffff826c94a8,160,ffffffff8268f8d0) at > > __assert+0x29 > > uvmpd_scan(9a,7d07) at uvmpd_scan+0x443 > > uvm_pageout(ffff800396bf2fa0) at uvm_pageout+0x247 > > end trace frame: 0x0, count: 10 > > https://www.openbsd.org/ddb.html describes the minimum info required in > bug > > reports. Insufficient info makes it difficult to find and fix bugs. > > ddb{3}> > > console would not take input, so no more details than this unfortunately. > > > > dmesg from /var/log/messages: > > > > Nov 29 19:37:25 ftp /bsd: OpenBSD 8.0-current (GENERIC.MP) #0: Sun Nov > 29 > > 00:23:10 CET 2026 > > Nov 29 19:37:25 ftp /bsd: [email protected]: > > /usr/src/sys/arch/amd64/compile/GENERIC.MP > > Nov 29 19:37:25 ftp /bsd: real mem = 17162940416 <(716)%20294-0416> > (16367MB) > > Nov 29 19:37:25 ftp /bsd: avail mem = 16618917888 <(661)%20891-7888> > (15849MB) > > Nov 29 19:37:25 ftp /bsd: random: good seed from bootblocks > > Nov 29 19:37:25 ftp /bsd: mpath0 at root > > Nov 29 19:37:25 ftp /bsd: scsibus0 at mpath0: 256 targets > > Nov 29 19:37:25 ftp /bsd: mainbus0 at root > > Nov 29 19:37:25 ftp /bsd: bios0 at mainbus0 > > Nov 29 19:37:25 ftp /bsd: acpi0 at bios0: ACPI 1.0 > > Nov 29 19:37:25 ftp /bsd: acpi0: sleep states S3 S4 S5 > > Nov 29 19:37:25 ftp /bsd: acpi0: tables DSDT FACP APIC WAET > > Nov 29 19:37:25 ftp /bsd: acpi0: wakeup devices > > Nov 29 19:37:25 ftp /bsd: acpitimer0 at acpi0: 3579545 Hz, 24 bits > > Nov 29 19:37:25 ftp /bsd: acpimadt0 at acpi0 addr 0xfee00000: PC-AT > compat > > Nov 29 19:37:25 ftp /bsd: cpu0 at mainbus0: apid 0 (boot processor) > > Nov 29 19:37:25 ftp /bsd: cpu0: AMD EPYC 7713P 64-Core Processor, 2000.79 > > MHz, 19-01-01 > > Nov 29 19:37:25 ftp /bsd: cpu0: cpuid 1 > > > edx=78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2> > > > ecx=f7fa3203<SSE3,PCLMUL,SSSE3,FMA3,CX16,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,HV> > > Nov 29 19:37:25 ftp /bsd: cpu0: cpuid 6 eax=4<ARAT> > > Nov 29 19:37:25 ftp /bsd: cpu0: cpuid 7.0 > > > ebx=219c07ab<FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA> > > ecx=40060c<UMIP,PKU> edx=ac000010<IBRS,IBPB,STIBP,SSBD> > > Nov 29 19:37:25 ftp /bsd: cpu0: cpuid d.1 > > eax=f<XSAVEOPT,XSAVEC,XGETBV1,XSAVES> > > Nov 29 19:37:25 ftp /bsd: cpu0: cpuid 80000001 > > edx=2fd3fbff<NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG> > > ecx=8003f3<LAHF,CMPLEG,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,CPCTR> > > Nov 29 19:37:25 ftp /bsd: cpu0: cpuid 80000008 > > ebx=1302d205<IBPB,IBRS,STIBP,STIBP_ALL,SSBD,VIRTSSBD> > > Nov 29 19:37:25 ftp /bsd: cpu0: 64KB 64b/line 2-way D-cache, 64KB > 64b/line > > 2-way I-cache > > Nov 29 19:37:25 ftp /bsd: cpu0: 512KB 64b/line 16-way L2 cache > > Nov 29 19:37:25 ftp /bsd: cpu0: smt 0, core 0, package 0, type P > > Nov 29 19:37:25 ftp /bsd: mtrr: Pentium Pro MTRR support, 8 var ranges, > 88 > > fixed ranges > > Nov 29 19:37:25 ftp /bsd: cpu0: apic clock running at 1000MHz > > Nov 29 19:37:25 ftp /bsd: cpu1 at mainbus0: apid 1 (application > processor) > > Nov 29 19:37:25 ftp /bsd: cpu1: AMD EPYC 7713P 64-Core Processor, 2001.18 > > MHz, 19-01-01 > > Nov 29 19:37:25 ftp /bsd: cpu1: smt 0, core 0, package 1, type P > > Nov 29 19:37:25 ftp /bsd: cpu2 at mainbus0: apid 2 (application > processor) > > Nov 29 19:37:25 ftp /bsd: cpu2: AMD EPYC 7713P 64-Core Processor, 2000.97 > > MHz, 19-01-01 > > Nov 29 19:37:25 ftp /bsd: cpu2: smt 0, core 0, package 2, type P > > Nov 29 19:37:25 ftp /bsd: cpu3 at mainbus0: apid 3 (application > processor) > > Nov 29 19:37:25 ftp /bsd: cpu3: AMD EPYC 7713P 64-Core Processor, 2001.00 > > MHz, 19-01-01 > > Nov 29 19:37:25 ftp /bsd: cpu3: smt 0, core 0, package 3, type P > > Nov 29 19:37:25 ftp /bsd: cpu4 at mainbus0: apid 4 (application > processor) > > Nov 29 19:37:25 ftp /bsd: cpu4: AMD EPYC 7713P 64-Core Processor, 2000.81 > > MHz, 19-01-01 > > Nov 29 19:37:25 ftp /bsd: cpu4: smt 0, core 0, package 4, type P > > Nov 29 19:37:25 ftp /bsd: cpu5 at mainbus0: apid 5 (application > processor) > > Nov 29 19:37:25 ftp /bsd: cpu5: AMD EPYC 7713P 64-Core Processor, 2000.91 > > MHz, 19-01-01 > > Nov 29 19:37:25 ftp /bsd: cpu5: smt 0, core 0, package 5, type P > > Nov 29 19:37:25 ftp /bsd: cpu6 at mainbus0: apid 6 (application > processor) > > Nov 29 19:37:25 ftp /bsd: cpu6: AMD EPYC 7713P 64-Core Processor, 2001.43 > > MHz, 19-01-01 > > Nov 29 19:37:25 ftp /bsd: cpu6: smt 0, core 0, package 6, type P > > Nov 29 19:37:25 ftp /bsd: cpu7 at mainbus0: apid 7 (application > processor) > > Nov 29 19:37:25 ftp /bsd: cpu7: AMD EPYC 7713P 64-Core Processor, 2000.91 > > MHz, 19-01-01 > > Nov 29 19:37:25 ftp /bsd: cpu7: smt 0, core 0, package 7, type P > > Nov 29 19:37:25 ftp /bsd: ioapic0 at mainbus0: apid 0 pa 0xfec00000, > > version 11, 24 pins > > Nov 29 19:37:25 ftp /bsd: acpiprt0 at acpi0: bus 0 (PCI0) > > Nov 29 19:37:25 ftp /bsd: "ACPI0006" at acpi0 not configured > > Nov 29 19:37:25 ftp /bsd: acpipci0 at acpi0 PCI0 > > Nov 29 19:37:25 ftp /bsd: "PNP0A06" at acpi0 not configured > > Nov 29 19:37:25 ftp last message repeated 2 times > > Nov 29 19:37:25 ftp /bsd: "QEMU0002" at acpi0 not configured > > Nov 29 19:37:25 ftp /bsd: com0 at acpi0 COM1 addr 0x3f8/0x8 irq 4: > > ns16550a, 16 byte fifo > > Nov 29 19:37:25 ftp /bsd: "PNP0303" at acpi0 not configured > > Nov 29 19:37:25 ftp /bsd: "PNP0F13" at acpi0 not configured > > Nov 29 19:37:25 ftp /bsd: acpicmos0 at acpi0 > > Nov 29 19:37:25 ftp /bsd: "ACPI0010" at acpi0 not configured > > Nov 29 19:37:25 ftp /bsd: acpicpu0 at acpi0: C1(@1 halt!) > > Nov 29 19:37:25 ftp /bsd: acpicpu1 at acpi0: C1(@1 halt!) > > Nov 29 19:37:25 ftp /bsd: acpicpu2 at acpi0: C1(@1 halt!) > > Nov 29 19:37:25 ftp /bsd: acpicpu3 at acpi0: C1(@1 halt!) > > Nov 29 19:37:25 ftp /bsd: acpicpu4 at acpi0: C1(@1 halt!) > > Nov 29 19:37:25 ftp /bsd: acpicpu5 at acpi0: C1(@1 halt!) > > Nov 29 19:37:25 ftp /bsd: acpicpu6 at acpi0: C1(@1 halt!) > > Nov 29 19:37:25 ftp /bsd: acpicpu7 at acpi0: C1(@1 halt!) > > Nov 29 19:37:25 ftp /bsd: pvbus0 at mainbus0: KVM > > Nov 29 19:37:25 ftp /bsd: pvclock0 at pvbus0 > > Nov 29 19:37:25 ftp /bsd: pci0 at mainbus0 bus 0 > > Nov 29 19:37:25 ftp /bsd: pchb0 at pci0 dev 0 function 0 "Intel 82441FX" > > rev 0x02 > > Nov 29 19:37:25 ftp /bsd: pcib0 at pci0 dev 1 function 0 "Intel 82371SB > > ISA" rev 0x00 > > Nov 29 19:37:25 ftp /bsd: pciide0 at pci0 dev 1 function 1 "Intel 82371SB > > IDE" rev 0x00: DMA, channel 0 wired to compatibility, channel 1 wired to > > compatibility > > Nov 29 19:37:25 ftp /bsd: pciide0: channel 0 disabled (no drives) > > Nov 29 19:37:25 ftp /bsd: pciide0: channel 1 disabled (no drives) > > Nov 29 19:37:25 ftp /bsd: uhci0 at pci0 dev 1 function 2 "Intel 82371SB > > USB" rev 0x01: apic 0 int 11 > > Nov 29 19:37:25 ftp /bsd: piixpm0 at pci0 dev 1 function 3 "Intel 82371AB > > Power" rev 0x03: apic 0 int 9 > > Nov 29 19:37:25 ftp /bsd: iic0 at piixpm0 > > Nov 29 19:37:25 ftp /bsd: vga1 at pci0 dev 2 function 0 "Qumranet Virtio > > 1.x GPU" rev 0x01 > > Nov 29 19:37:25 ftp /bsd: wsdisplay0 at vga1 mux 1: console (80x25, vt100 > > emulation) > > Nov 29 19:37:25 ftp /bsd: wsdisplay0: screen 1-5 added (80x25, vt100 > > emulation) > > Nov 29 19:37:25 ftp /bsd: wsdisplay0: screen 1-5 added (80x25, vt100 > > emulation) > > Nov 29 19:37:25 ftp /bsd: virtio0 at pci0 dev 3 function 0 "Qumranet > Virtio > > Network" rev 0x00 > > Nov 29 19:37:25 ftp /bsd: vio0 at virtio0: 1 queue, address > > fa:16:3e:3c:9d:eb, mtu 1500 > > Nov 29 19:37:25 ftp /bsd: virtio0: msix per-VQ > > Nov 29 19:37:25 ftp /bsd: virtio1 at pci0 dev 4 function 0 "Qumranet > Virtio > > Storage" rev 0x00 > > Nov 29 19:37:25 ftp /bsd: vioblk0 at virtio1 > > Nov 29 19:37:25 ftp /bsd: virtio1: msix per-VQ > > Nov 29 19:37:25 ftp /bsd: scsibus1 at vioblk0: 1 targets > > Nov 29 19:37:25 ftp /bsd: sd0 at scsibus1 targ 0 lun 0: <VirtIO, Block > > Device, > > > Nov 29 19:37:25 ftp /bsd: sd0: 102400MB, 512 bytes/sector, 209715200 > sectors > > Nov 29 19:37:25 ftp /bsd: virtio2 at pci0 dev 5 function 0 "Qumranet > Virtio > > Storage" rev 0x00 > > Nov 29 19:37:25 ftp /bsd: vioblk1 at virtio2 > > Nov 29 19:37:25 ftp /bsd: virtio2: msix per-VQ > > Nov 29 19:37:25 ftp /bsd: scsibus2 at vioblk1: 1 targets > > Nov 29 19:37:25 ftp /bsd: sd1 at scsibus2 targ 0 lun 0: <VirtIO, Block > > Device, > > > Nov 29 19:37:25 ftp /bsd: sd1: 2096128MB, 512 bytes/sector, 4292870144 > > sectors > > Nov 29 19:37:25 ftp /bsd: virtio3 at pci0 dev 6 function 0 "Qumranet > Virtio > > Storage" rev 0x00 > > Nov 29 19:37:25 ftp /bsd: vioblk2 at virtio3 > > Nov 29 19:37:25 ftp /bsd: virtio3: msix per-VQ > > Nov 29 19:37:25 ftp /bsd: scsibus3 at vioblk2: 1 targets > > Nov 29 19:37:25 ftp /bsd: sd2 at scsibus3 targ 0 lun 0: <VirtIO, Block > > Device, > > > Nov 29 19:37:25 ftp /bsd: sd2: 2096128MB, 512 bytes/sector, 4292870144 > > sectors > > Nov 29 19:37:25 ftp /bsd: virtio4 at pci0 dev 7 function 0 "Qumranet > Virtio > > Storage" rev 0x00 > > Nov 29 19:37:25 ftp /bsd: vioblk3 at virtio4 > > Nov 29 19:37:25 ftp /bsd: virtio4: msix per-VQ > > Nov 29 19:37:25 ftp /bsd: scsibus4 at vioblk3: 1 targets > > Nov 29 19:37:25 ftp /bsd: sd3 at scsibus4 targ 0 lun 0: <VirtIO, Block > > Device, > > > Nov 29 19:37:25 ftp /bsd: sd3: 2046976MB, 512 bytes/sector, 4192206848 > <(419)%20220-6848> > > sectors > > Nov 29 19:37:25 ftp /bsd: virtio5 at pci0 dev 8 function 0 "Qumranet > Virtio > > Storage" rev 0x00 > > Nov 29 19:37:25 ftp /bsd: vioblk4 at virtio5 > > Nov 29 19:37:25 ftp /bsd: virtio5: msix per-VQ > > Nov 29 19:37:25 ftp /bsd: scsibus5 at vioblk4: 1 targets > > Nov 29 19:37:25 ftp /bsd: sd4 at scsibus5 targ 0 lun 0: <VirtIO, Block > > Device, > > > Nov 29 19:37:25 ftp /bsd: sd4: 1024000MB, 512 bytes/sector, 2097152000 > <(209)%20715-2000> > > sectors > > Nov 29 19:37:25 ftp /bsd: virtio6 at pci0 dev 9 function 0 "Qumranet > Virtio > > Storage" rev 0x00 > > Nov 29 19:37:25 ftp /bsd: vioblk5 at virtio6 > > Nov 29 19:37:25 ftp /bsd: virtio6: msix per-VQ > > Nov 29 19:37:25 ftp /bsd: scsibus6 at vioblk5: 1 targets > > Nov 29 19:37:25 ftp /bsd: sd5 at scsibus6 targ 0 lun 0: <VirtIO, Block > > Device, > > > Nov 29 19:37:25 ftp /bsd: sd5: 614400MB, 512 bytes/sector, 1258291200 > > sectors > > Nov 29 19:37:25 ftp /bsd: virtio7 at pci0 dev 10 function 0 "Qumranet > > Virtio Storage" rev 0x00 > > Nov 29 19:37:25 ftp /bsd: vioblk6 at virtio7 > > Nov 29 19:37:25 ftp /bsd: virtio7: msix per-VQ > > Nov 29 19:37:25 ftp /bsd: scsibus7 at vioblk6: 1 targets > > Nov 29 19:37:25 ftp /bsd: sd6 at scsibus7 targ 0 lun 0: <VirtIO, Block > > Device, > > > Nov 29 19:37:25 ftp /bsd: sd6: 1024000MB, 512 bytes/sector, 2097152000 > <(209)%20715-2000> > > sectors > > Nov 29 19:37:25 ftp /bsd: virtio8 at pci0 dev 11 function 0 "Qumranet > > Virtio Storage" rev 0x00 > > Nov 29 19:37:25 ftp /bsd: vioblk7 at virtio8 > > Nov 29 19:37:25 ftp /bsd: virtio8: msix per-VQ > > Nov 29 19:37:25 ftp /bsd: scsibus8 at vioblk7: 1 targets > > Nov 29 19:37:25 ftp /bsd: sd7 at scsibus8 targ 0 lun 0: <VirtIO, Block > > Device, > > > Nov 29 19:37:25 ftp /bsd: sd7: 512000MB, 512 bytes/sector, 1048576000 > > sectors > > Nov 29 19:37:25 ftp /bsd: virtio9 at pci0 dev 12 function 0 "Qumranet > > Virtio Storage" rev 0x00 > > Nov 29 19:37:25 ftp /bsd: vioblk8 at virtio9 > > Nov 29 19:37:25 ftp /bsd: virtio9: msix per-VQ > > Nov 29 19:37:25 ftp /bsd: scsibus9 at vioblk8: 1 targets > > Nov 29 19:37:25 ftp /bsd: sd8 at scsibus9 targ 0 lun 0: <VirtIO, Block > > Device, > > > Nov 29 19:37:25 ftp /bsd: sd8: 1024000MB, 512 bytes/sector, 2097152000 > <(209)%20715-2000> > > sectors > > Nov 29 19:37:25 ftp /bsd: virtio10 at pci0 dev 13 function 0 "Qumranet > > Virtio Storage" rev 0x00 > > Nov 29 19:37:25 ftp /bsd: vioblk9 at virtio10 > > Nov 29 19:37:25 ftp /bsd: virtio10: msix per-VQ > > Nov 29 19:37:25 ftp /bsd: scsibus10 at vioblk9: 1 targets > > Nov 29 19:37:25 ftp /bsd: sd9 at scsibus10 targ 0 lun 0: <VirtIO, Block > > Device, > > > Nov 29 19:37:25 ftp /bsd: sd9: 1024000MB, 512 bytes/sector, 2097152000 > <(209)%20715-2000> > > sectors > > Nov 29 19:37:25 ftp /bsd: virtio11 at pci0 dev 14 function 0 "Qumranet > > Virtio Storage" rev 0x00 > > Nov 29 19:37:25 ftp /bsd: vioblk10 at virtio11 > > Nov 29 19:37:25 ftp /bsd: virtio11: msix per-VQ > > Nov 29 19:37:25 ftp /bsd: scsibus11 at vioblk10: 1 targets > > Nov 29 19:37:25 ftp /bsd: sd10 at scsibus11 targ 0 lun 0: <VirtIO, Block > > Device, > > > Nov 29 19:37:25 ftp /bsd: sd10: 563200MB, 512 bytes/sector, 1153433600 > > sectors > > Nov 29 19:37:25 ftp /bsd: virtio12 at pci0 dev 15 function 0 "Qumranet > > Virtio Memory Balloon" rev 0x00 > > Nov 29 19:37:25 ftp /bsd: viomb0 at virtio12 > > Nov 29 19:37:25 ftp /bsd: virtio12: apic 0 int 11 > > Nov 29 19:37:25 ftp /bsd: virtio13 at pci0 dev 16 function 0 "Qumranet > > Virtio RNG" rev 0x00 > > Nov 29 19:37:25 ftp /bsd: viornd0 at virtio13 > > Nov 29 19:37:25 ftp /bsd: virtio13: msix per-VQ > > Nov 29 19:37:25 ftp /bsd: isa0 at pcib0 > > Nov 29 19:37:25 ftp /bsd: isadma0 at isa0 > > Nov 29 19:37:25 ftp /bsd: fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 > > Nov 29 19:37:25 ftp /bsd: pckbc0 at isa0 port 0x60/5 irq 1 irq 12 > > Nov 29 19:37:25 ftp /bsd: pckbd0 at pckbc0 (kbd slot) > > Nov 29 19:37:25 ftp /bsd: wskbd0 at pckbd0: console keyboard, using > > wsdisplay0 > > Nov 29 19:37:25 ftp /bsd: pms0 at pckbc0 (aux slot) > > Nov 29 19:37:25 ftp /bsd: wsmouse0 at pms0 mux 0 > > Nov 29 19:37:25 ftp /bsd: pcppi0 at isa0 port 0x61 > > Nov 29 19:37:25 ftp /bsd: spkr0 at pcppi0 > > Nov 29 19:37:25 ftp /bsd: usb0 at uhci0: USB revision 1.0 > > Nov 29 19:37:25 ftp/bsd: uhub0 at usb0 configuration 1 interface 0 "Intel > > UHCI root hub" rev 1.00/1.00 addr 1 > > Nov 29 19:37:25 ftp /bsd: enable mbufs in high memory > > Nov 29 19:37:25 ftp /bsd: uhidev0 at uhub0 port 1 configuration 1 > interface > > 0 "QEMU QEMU USB Tablet" rev 2.00/0.00 addr 2 > > Nov 29 19:37:25 ftp /bsd: uhidev0: iclass 3/0 > > Nov 29 19:37:25 ftp /bsd: ums0 at uhidev0: 3 buttons, Z dir > > Nov 29 19:37:25 ftp /bsd: wsmouse1 at ums0 mux 0 > > Nov 29 19:37:25 ftp /bsd: uhidev1 at uhub0 port 2 configuration 1 > interface > > 0 "QEMU QEMU USB Keyboard" rev 2.00/0.00 addr 3 > > Nov 29 19:37:25 ftp /bsd: uhidev1: iclass 3/1 > > Nov 29 19:37:25 ftp /bsd: ukbd0 at uhidev1: 8 variable keys, 6 key codes > > Nov 29 19:37:25 ftp /bsd: wskbd1 at ukbd0 mux 1 > > Nov 29 19:37:25 ftp /bsd: wskbd1: connecting to wsdisplay0 > > Nov 29 19:37:25 ftp /bsd: vscsi0 at root > > Nov 29 19:37:25 ftp /bsd: scsibus12 at vscsi0: 256 targets > > Nov 29 19:37:25 ftp /bsd: softraid0 at root > > Nov 29 19:37:25 ftp /bsd: scsibus13 at softraid0: 256 targets > > Nov 29 19:37:25 ftp /bsd: root on sd0a (afad6a2ea7dfd53b.a) swap on sd0b > > dump on sd0b > > Nov 29 19:37:25 ftp /bsd: WARNING: / was not properly unmounted > > Nov 29 19:37:25 ftp /bsd: fd0 at fdc0 drive 1: density unknown > > > > > > > > Clanker thinks it knows where the race can occur, but I can't say if > there > > is any value to it or not: > > > > The assert fails when a page on the active or inactive queue has both > > uobject and uanon NULL. > > Race in uvm_pageclean() (uvm_page.c:908) > > uvm_pageclean() frees an object page in this order: > > > > uvm_pageremove(pg) sets pg->uobject = NULL. The caller holds the object's > > vmobjlock, but not pageqlock. > > uvm_lock_pageq(); uvm_pagedequeue(pg) removes the page from the queue. > This > > needs pageqlock. > > > > Between steps 1 and 2 the page is still on the queue, with uobject NULL > and > > uanon NULL. > > > > The pagedaemon holds pageqlock for the whole of uvmpd_scan(), so the > > freeing CPU spins in step 2. The pagedaemon can then reach that page and > > read uobject == NULL and uanon == NULL. It takes the anon branch and > trips > > the assert. In a kernel built without DIAGNOSTIC, it would dereference > > anon->an_lock through NULL instead. > > > > If uobject were still set, rw_enter(vmobjlock, RW_NOSLEEP) would fail > > because the freeing thread holds that lock. The pagedaemon would then > skip > > the page. Clearing uobject before the dequeue is what lets the pagedaemon > > go wrong. > > > > Anon pages can't hit this. uvm_pageclean() clears uanon only after the > > dequeue. > > > > Workload link > > > > Any path that frees object pages while the pagedaemon runs can trigger > it. > > The host was under memory pressure, since pagedaemon was the running > thread. > > > > > > Hope this helps. > > > > -- > > May the most significant bit of your life be positive. > -- May the most significant bit of your life be positive.
