diff options
author | hsu <hsu@FreeBSD.org> | 1996-03-11 06:11:43 +0000 |
---|---|---|
committer | hsu <hsu@FreeBSD.org> | 1996-03-11 06:11:43 +0000 |
commit | 0bb5cd954d512f19f81d910bf1199752a64d4de0 (patch) | |
tree | 583168ecffcc4146c31ee471fd066cc559e4afe1 /sys/vm/vm_pageout.c | |
parent | 0f91f4d404deae598ffc432bd320d2f30bf1cbf9 (diff) | |
download | FreeBSD-src-0bb5cd954d512f19f81d910bf1199752a64d4de0.zip FreeBSD-src-0bb5cd954d512f19f81d910bf1199752a64d4de0.tar.gz |
For Lite2: proc LIST changes.
Reviewed by: davidg & bde
Diffstat (limited to 'sys/vm/vm_pageout.c')
-rw-r--r-- | sys/vm/vm_pageout.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/vm/vm_pageout.c b/sys/vm/vm_pageout.c index a835875..6f44421 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.66 1996/02/22 10:57:37 davidg Exp $ + * $Id: vm_pageout.c,v 1.67 1996/03/09 06:53:27 dyson Exp $ */ /* @@ -794,7 +794,7 @@ rescan1: ((cnt.v_free_count + cnt.v_cache_count) < cnt.v_free_min)) { bigproc = NULL; bigsize = 0; - for (p = (struct proc *) allproc; p != NULL; p = p->p_next) { + for (p = allproc.lh_first; p != 0; p = p->p_list.le_next) { /* * if this is a system process, skip it */ @@ -929,7 +929,7 @@ vm_daemon() * process is swapped out -- deactivate pages */ - for (p = (struct proc *) allproc; p != NULL; p = p->p_next) { + for (p = allproc.lh_first; p != 0; p = p->p_list.le_next) { int overage; quad_t limit; vm_offset_t size; |