--- /n/sources/plan9/sys/src/9k/port/fault.c Mon Jun 22 18:18:15 2026 +++ /sys/src/9k/port/fault.c Thu Jun 25 00:00:00 2026 @@ -153,6 +153,8 @@ fixfault(Segment *s, uintptr addr, int read, int dommuput) *pg = new; copypage(lkp, *pg); putpage(lkp); + if(s->ref > 1) + procflushseg(s); } mmuphys = PPN((*pg)->pa) | PTEWRITE | PTEVALID; (*pg)->modref = PG_MOD|PG_REF;