diff options
| author | cinap_lenrek <cinap_lenrek@localhost> | 2011-08-24 07:58:14 +0200 |
|---|---|---|
| committer | cinap_lenrek <cinap_lenrek@localhost> | 2011-08-24 07:58:14 +0200 |
| commit | 61a0117ea5ddf0a17079faf755b4d51cc045c4ae (patch) | |
| tree | e782456fbd363bc00ddd357ac5aa6d5b1a84e1df | |
| parent | 5182bb7ecfb83ee63e9d795f6719af16ad45de29 (diff) | |
| download | plan9front-61a0117ea5ddf0a17079faf755b4d51cc045c4ae.tar.xz | |
swap: do less print spamming, sched after killbig so killed proc can get released
| -rw-r--r-- | sys/src/9/port/swap.c | 6 |
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; |
