summaryrefslogtreecommitdiffstats
path: root/sys/vm
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1996-01-31 12:44:33 +0000
committerdg <dg@FreeBSD.org>1996-01-31 12:44:33 +0000
commitd31b06efba83208d6ae88a70537c38e9fdfe2c85 (patch)
treeefdf69ddc849185d062b31107061505d91e4345e /sys/vm
parent66bb81b8eeabb32ee4e1942dd68cce6697180e17 (diff)
downloadFreeBSD-src-d31b06efba83208d6ae88a70537c38e9fdfe2c85.zip
FreeBSD-src-d31b06efba83208d6ae88a70537c38e9fdfe2c85.tar.gz
Improved killproc() log message and made it and the other similar message
tolerant of p_ucred being invalid. Starting using killproc() where appropriate.
Diffstat (limited to 'sys/vm')
-rw-r--r--sys/vm/vm_pageout.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/vm/vm_pageout.c b/sys/vm/vm_pageout.c
index ef7dbe9..3ba895c 100644
--- a/sys/vm/vm_pageout.c
+++ b/sys/vm/vm_pageout.c
@@ -65,7 +65,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: vm_pageout.c,v 1.63 1995/12/14 09:55:09 phk Exp $
+ * $Id: vm_pageout.c,v 1.64 1996/01/19 04:00:23 dyson Exp $
*/
/*
@@ -828,8 +828,7 @@ rescan1:
}
}
if (bigproc != NULL) {
- printf("Process %lu killed by vm_pageout -- out of swap\n", (u_long) bigproc->p_pid);
- psignal(bigproc, SIGKILL);
+ killproc(bigproc, "out of swap space");
bigproc->p_estcpu = 0;
bigproc->p_nice = PRIO_MIN;
resetpriority(bigproc);
OpenPOWER on IntegriCloud