diff options
author | dg <dg@FreeBSD.org> | 1996-01-31 12:44:33 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1996-01-31 12:44:33 +0000 |
commit | d31b06efba83208d6ae88a70537c38e9fdfe2c85 (patch) | |
tree | efdf69ddc849185d062b31107061505d91e4345e /sys/vm/vm_pageout.c | |
parent | 66bb81b8eeabb32ee4e1942dd68cce6697180e17 (diff) | |
download | FreeBSD-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/vm_pageout.c')
-rw-r--r-- | sys/vm/vm_pageout.c | 5 |
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); |