ref: 11bf57fb2ceb999e314cfbe27a4e123bf846d2c8
parent: bf760b325031f8ce68d85cc4f6649883325c19c8
author: aiju <[email protected]>
date: Mon Jul 18 06:12:45 EDT 2011
add message on OOM kill, fix issue #70
--- a/sys/src/9/port/proc.c
+++ b/sys/src/9/port/proc.c
@@ -1393,6 +1393,7 @@
switch(p->procctl) {
case Proc_exitbig:
spllo();
+ pprint("Killed: Insufficient physical memory\n");
pexit("Killed: Insufficient physical memory", 1);
case Proc_exitme: