changelog shortlog tags branches changeset file revisions annotate raw help

Mercurial > hg > plan9front / sys/src/9/bitsy/mmu.c

revision 4350: 1f9d7811d546
parent 4250: d819f0505c21
child 4593: a50d185fd141
     1.1--- a/sys/src/9/bitsy/mmu.c
     1.2+++ b/sys/src/9/bitsy/mmu.c
     1.3@@ -379,9 +379,9 @@ putmmu(uintptr va, uintptr pa, Page *pg)
     1.4 		if(l2pg != nil){
     1.5 			up->mmufree = l2pg->next;
     1.6 		} else {
     1.7-			l2pg = auxpage();
     1.8-			if(l2pg == nil)
     1.9-				pexit("out of memory", 1);
    1.10+			splx(s);
    1.11+			l2pg = newpage(0, 0, 0);
    1.12+			splhi();
    1.13 		}
    1.14 		l2pg->va = VA(kmap(l2pg));
    1.15 		up->l1page[va>>20] = l2pg;