summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/src/9/port/swap.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/src/9/port/swap.c b/sys/src/9/port/swap.c
index 54e8b99e0..79b756452 100644
--- a/sys/src/9/port/swap.c
+++ b/sys/src/9/port/swap.c
@@ -176,13 +176,9 @@ loop:
}
qunlock(&p->seglock);
} else {
- print("out of memory\n");
killbig("out of memory");
freebroken(); /* can use the memory */
-
- /* Emulate the old system if no swap channel */
- if(!swapimage.c)
- tsleep(&up->sleep, return0, 0, 5000);
+ sched();
}
}
goto loop;