ref: 2b7a5fb5f79864fe831184bc8482b416568144af
parent: 2437dab4023d9f8eb9f2a2f26c52b646d07bad01
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Apr 5 21:29:12 EDT 2020
pc64: remove rampage() nil check rampage() never returns nil
--- a/sys/src/9/pc64/mmu.c
+++ b/sys/src/9/pc64/mmu.c
@@ -299,8 +299,6 @@
if(pte == nil || (*pte & PTESIZE) == 0 || (va & PGLSZ(1)-1) == 0)
return;
table = rampage();
- if(table == nil)
- panic("ptesplit: out of memory\n");va &= -PGLSZ(1);
pa = *pte & ~PTESIZE;
for(off = 0; off < PGLSZ(1); off += PGLSZ(0))
--
⑨