Commit Graph
3 Commits
Author SHA1 Message Date
Anees Iqbal 47cbc01b71 ✅ Split spguard's room case's guard exceptions by call
new.room made both calls before it counted the guard exceptions, so one
raised by car 8's call showed against both. Each call's exceptions now
print beside its own answer.
2026-11-05 21:59:30 -08:00
Anees Iqbal 937bba3271 ✅ Count spguard's cleanup deallocations, not every call
A run now deallocates each piece of its reservation before its superpage,
so new.short's list of every call grew with the RAM. It now counts what
matters: the superpages made, the first refusal, and the deallocations
after it with their bytes.
2026-11-05 21:59:28 -08:00
Anees Iqbal 4eb3ee02b9 ✅ Add spguard, the VM guard against superpage calls
What the kernel's VM guard makes of the device's superpages can only be
seen in an x86-64 guest: its own calls in a scratch process that turns its
VM guard on and takes its EXC_GUARD exceptions on a port of its own. It runs
car 8's one call for more superpages than RAM is free, at an address of its
own (the gap's place) and anywhere, rgfxTakeSuperpages short of RAM and with
room, and both in a child with the guard fatal, as WebKit's GPU process has
it. make -C guest/bundle spguard; never in make test.
2026-11-05 21:59:28 -08:00