mirror of
git://git.9front.org/plan9front/plan9front
synced 2025-01-12 11:10:06 +00:00
[Mirror] Some kind of OS: git://git.9front.org/plan9front/plan9front
4d484968bf
We cannot use lock() from screenputs() because lock calls lockloop(), which would try to print() which on very slow output (such as qemu) can cause kernel stack overflow. It got triggered by noam with his rube-goldberg qemu setup: lock 0xffffffff8058bbe0 loop key 0xdeaddead pc 0xffffffff80111114 held by pc 0xffffffff80111114 proc 339 panic: kenter: -40 stack bytes left, up 0xffffffff80bdfd00 ureg 0xffffffff80bddcd8 at pc 0xffffffff80231597 dumpstack ktrace /kernel/path 0xffffffff80117679 0xffffffff80bddae0 <<EOF We might want move this locking logic outside of screenputs() in the future. It is very similar to what iprint() does. |
||
---|---|---|
386 | ||
68000 | ||
68020 | ||
acme | ||
adm/timezone | ||
amd64 | ||
arm | ||
arm64 | ||
lib | ||
mips | ||
power | ||
power64 | ||
rc | ||
sparc | ||
sparc64 | ||
spim | ||
sys |